Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.174/4.174, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.14e-05/4.16e-05, allocations: 4 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2785, allocations: 98.73 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2673/0.5459, allocations: 138.1 MB / 0.7695 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.5463, allocations: 79.95 kB / 0.7696 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8801/1.426, allocations: 48.86 MB / 0.8173 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.384e-06/1.426, allocations: 0 / 0.8173 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000362/1.427, allocations: 31.94 kB / 0.8173 GB, free: 121.5 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.007031/1.434, allocations: 1.431 MB / 0.8187 GB, free: 120 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.434, allocations: 12.02 kB / 0.8188 GB, free: 120 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000335/1.434, allocations: 94.52 kB / 0.8188 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/1.436, allocations: 190 kB / 0.819 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/1.447, allocations: 2.5 MB / 0.8215 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/1.447, allocations: 65.31 kB / 0.8215 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004461/1.447, allocations: 99.91 kB / 0.8216 GB, free: 117 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/1.45, allocations: 0.676 MB / 0.8223 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/1.45, allocations: 0 / 0.8223 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/1.45, allocations: 20 kB / 0.8223 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/1.45, allocations: 16 kB / 0.8223 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/1.452, allocations: 407.7 kB / 0.8227 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01303/1.465, allocations: 4.136 MB / 0.8267 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004127/1.469, allocations: 0.6823 MB / 0.8274 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008692/1.47, allocations: 224.8 kB / 0.8276 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.028e-05/1.47, allocations: 4 kB / 0.8276 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/1.47, allocations: 38.56 kB / 0.8277 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 4.639e-06/1.47, allocations: 0 / 0.8277 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.003168/1.474, allocations: 0.6693 MB / 0.8283 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/1.474, allocations: 59.41 kB / 0.8284 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004956/1.479, allocations: 1.527 MB / 0.8299 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003272/1.479, allocations: 45.7 kB / 0.8299 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009782/1.48, allocations: 0.6429 MB / 0.8305 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004012/1.48, allocations: 138 kB / 0.8307 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/1.481, allocations: 24 kB / 0.8307 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.481, allocations: 353.9 kB / 0.831 GB, free: 107 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/1.482, allocations: 378.4 kB / 0.8314 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/1.484, allocations: 1.135 MB / 0.8325 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/1.485, allocations: 0.5461 MB / 0.833 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-05/1.486, allocations: 8 kB / 0.833 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005615/1.491, allocations: 1.599 MB / 0.8346 GB, free: 103 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.899e-05/1.491, allocations: 16 kB / 0.8346 GB, free: 103 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.155e-05/1.491, allocations: 20 kB / 0.8346 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/1.493, allocations: 193.9 kB / 0.8348 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/1.495, allocations: 279.5 kB / 0.8351 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005962/1.501, allocations: 3.713 MB / 0.8387 GB, free: 98.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005097/1.506, allocations: 302.2 kB / 0.839 GB, free: 98.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003711/1.507, allocations: 68 kB / 0.8391 GB, free: 98.13 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 133 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004132/1.507, allocations: 192.4 kB / 0.8393 GB, free: 97.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007207/1.508, allocations: 146 kB / 0.8394 GB, free: 97.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007583/1.509, allocations: 143.4 kB / 0.8395 GB, free: 97.65 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/1.509, allocations: 7.953 kB / 0.8395 GB, free: 97.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.637e-05/1.509, allocations: 0 / 0.8395 GB, free: 97.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/1.509, allocations: 4 kB / 0.8395 GB, free: 97.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/1.511, allocations: 1.149 MB / 0.8407 GB, free: 96.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/1.511, allocations: 0 / 0.8407 GB, free: 96.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000778/1.512, allocations: 75.88 kB / 0.8407 GB, free: 96.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008188/1.513, allocations: 153.6 kB / 0.8409 GB, free: 96.21 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.068e-05/1.513, allocations: 20.02 kB / 0.8409 GB, free: 96.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004362/1.518, allocations: 3.675 MB / 0.8445 GB, free: 92.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.518, allocations: 0 / 0.8445 GB, free: 92.24 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/1.52, allocations: 1.006 MB / 0.8455 GB, free: 91.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.521, allocations: 0.9717 MB / 0.8464 GB, free: 90.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003682/1.522, allocations: 12 kB / 0.8464 GB, free: 90.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/1.524, allocations: 107.7 kB / 0.8465 GB, free: 89.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/1.524, allocations: 31.7 kB / 0.8466 GB, free: 89.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/1.524, allocations: 12 kB / 0.8466 GB, free: 89.94 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002707/1.527, allocations: 1.136 MB / 0.8477 GB, free: 88.81 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.223e-06/1.527, allocations: 0 / 0.8477 GB, free: 88.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002866/1.53, allocations: 0.5621 MB / 0.8482 GB, free: 88.25 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (conMul.lay[2].T[1],conMul.lay[2].T[2],conMul.lay[2].T[3],con.T[1],con.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002789/1.533, allocations: 1.697 MB / 0.8499 GB, free: 86.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002529/1.535, allocations: 1.106 MB / 0.851 GB, free: 85.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.535, allocations: 1.812 kB / 0.851 GB, free: 85.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/1.536, allocations: 0.4925 MB / 0.8515 GB, free: 84.87 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/1.539, allocations: 365.1 kB / 0.8518 GB, free: 84.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00713/1.546, allocations: 2.642 MB / 0.8544 GB, free: 81.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/1.547, allocations: 1.395 MB / 0.8557 GB, free: 80.39 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001567/1.549, allocations: 326.6 kB / 0.8561 GB, free: 80.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/1.55, allocations: 0.5188 MB / 0.8566 GB, free: 79.54 MB / 0.6511 GB Notification: Performance of SimCode: time 1.744e-06/1.55, allocations: 0 / 0.8566 GB, free: 79.54 MB / 0.6511 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).