Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01143/0.01143, allocations: 106.2 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001201/0.001201, allocations: 186.3 kB / 15.95 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.087/2.087, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.404/2.404, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007054/0.0007055, allocations: 12 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8017/0.8024, allocations: 98.72 MB / 0.6834 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2532/1.056, allocations: 135.1 MB / 0.8153 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/1.056, allocations: 79.95 kB / 0.8154 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.2425/1.299, allocations: 37.25 MB / 0.8518 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.536e-06/1.299, allocations: 0 / 0.8518 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000198/1.299, allocations: 19.94 kB / 0.8518 GB, free: 1.543 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.008522/1.307, allocations: 1.609 MB / 0.8534 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/1.308, allocations: 8.031 kB / 0.8534 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003033/1.308, allocations: 70.53 kB / 0.8534 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009018/1.309, allocations: 110.7 kB / 0.8536 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009014/1.318, allocations: 2.112 MB / 0.8556 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.967e-05/1.318, allocations: 36.66 kB / 0.8556 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/1.318, allocations: 59.86 kB / 0.8557 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/1.32, allocations: 0.5393 MB / 0.8562 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/1.32, allocations: 0 / 0.8562 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/1.32, allocations: 12 kB / 0.8562 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/1.32, allocations: 8 kB / 0.8563 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/1.321, allocations: 345.9 kB / 0.8566 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006633/1.327, allocations: 3.177 MB / 0.8597 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003368/1.331, allocations: 0.6648 MB / 0.8603 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.503e-05/1.331, allocations: 4 kB / 0.8603 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/1.331, allocations: 38.55 kB / 0.8604 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=26): time 3.076e-06/1.331, allocations: 0 / 0.8604 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26): time 0.002484/1.334, allocations: 0.7602 MB / 0.8611 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/1.334, allocations: 59.34 kB / 0.8612 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003523/1.337, allocations: 1.275 MB / 0.8624 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001835/1.337, allocations: 37.7 kB / 0.8625 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006533/1.338, allocations: 416.1 kB / 0.8629 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/1.339, allocations: 106.5 kB / 0.863 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/1.339, allocations: 12 kB / 0.863 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.339, allocations: 345.9 kB / 0.8633 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007757/1.34, allocations: 289 kB / 0.8636 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/1.341, allocations: 0.6599 MB / 0.8642 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/1.342, allocations: 395.6 kB / 0.8646 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.48e-05/1.342, allocations: 0 / 0.8646 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004158/1.346, allocations: 1.251 MB / 0.8658 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/1.347, allocations: 8 kB / 0.8658 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/1.347, allocations: 12 kB / 0.8658 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002452/1.349, allocations: 450.8 kB / 0.8663 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007169/1.35, allocations: 115.7 kB / 0.8664 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/1.362, allocations: 4.997 MB / 0.8713 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004609/1.367, allocations: 446.5 kB / 0.8717 GB, free: 12.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/1.367, allocations: 36 kB / 0.8717 GB, free: 12.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001216/1.368, allocations: 425.4 kB / 0.8721 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005877/1.369, allocations: 86.88 kB / 0.8722 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/1.369, allocations: 104.8 kB / 0.8723 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/1.369, allocations: 7.953 kB / 0.8723 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.369, allocations: 3.938 kB / 0.8723 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/1.369, allocations: 3.984 kB / 0.8723 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/1.372, allocations: 1.127 MB / 0.8734 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.372, allocations: 0 / 0.8734 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009902/1.373, allocations: 95.86 kB / 0.8735 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003022/1.373, allocations: 40.81 kB / 0.8735 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/1.373, allocations: 19.98 kB / 0.8736 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/1.375, allocations: 1.428 MB / 0.875 GB, free: 8.926 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.375, allocations: 4.031 kB / 0.875 GB, free: 8.922 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/1.377, allocations: 0.8227 MB / 0.8758 GB, free: 8.082 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/1.379, allocations: 0.9451 MB / 0.8767 GB, free: 6.992 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/1.379, allocations: 23.94 kB / 0.8767 GB, free: 6.969 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/1.382, allocations: 203.7 kB / 0.8769 GB, free: 6.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/1.382, allocations: 19.92 kB / 0.8769 GB, free: 6.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/1.382, allocations: 8 kB / 0.8769 GB, free: 6.742 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00251/1.384, allocations: 0.9666 MB / 0.8779 GB, free: 5.766 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.384, allocations: 0 / 0.8779 GB, free: 5.766 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003001/1.387, allocations: 0.5894 MB / 0.8785 GB, free: 5.18 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002831/1.39, allocations: 1.489 MB / 0.8799 GB, free: 3.668 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003184/1.393, allocations: 0.92 MB / 0.8808 GB, free: 2.738 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.394, allocations: 0 / 0.8808 GB, free: 2.738 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007792/1.394, allocations: 331.7 kB / 0.8811 GB, free: 2.402 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/1.397, allocations: 276.3 kB / 0.8814 GB, free: 2.129 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1.408, allocations: 10.34 MB / 0.8915 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.409, allocations: 1.168 MB / 0.8926 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001251/1.41, allocations: 266.8 kB / 0.8929 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009048/1.411, allocations: 311.3 kB / 0.8932 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of SimCode: time 1.783e-06/1.411, allocations: 0 / 0.8932 GB, free: 5.754 MB / 0.7136 GB Error: Template error: A template call failed (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics).