Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse.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.ConductorStepResponse,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.46/4.46, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.749e-05/3.752e-05, allocations: 3.5 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2213, allocations: 98.73 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2785/0.4999, allocations: 138.1 MB / 0.7696 GB, free: 7.57 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.5003, allocations: 83.94 kB / 0.7697 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8782/1.379, allocations: 44.81 MB / 0.8134 GB, free: 126 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.505e-06/1.379, allocations: 0 / 0.8134 GB, free: 126 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002796/1.379, allocations: 32 kB / 0.8135 GB, free: 126 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.004011/1.383, allocations: 1.281 MB / 0.8147 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.383, allocations: 12.03 kB / 0.8147 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00028/1.383, allocations: 82.53 kB / 0.8148 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009067/1.384, allocations: 174.2 kB / 0.815 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00747/1.392, allocations: 1.867 MB / 0.8168 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.28e-05/1.392, allocations: 57 kB / 0.8169 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/1.392, allocations: 84 kB / 0.8169 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/1.393, allocations: 0.504 MB / 0.8174 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/1.393, allocations: 0 / 0.8174 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.826e-05/1.393, allocations: 20 kB / 0.8175 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/1.393, allocations: 12 kB / 0.8175 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007425/1.394, allocations: 311.7 kB / 0.8178 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006358/1.4, allocations: 3.274 MB / 0.821 GB, free: 118 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/1.402, allocations: 444.8 kB / 0.8214 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/1.402, allocations: 176.8 kB / 0.8216 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/1.402, allocations: 5.406 kB / 0.8216 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/1.402, allocations: 38.44 kB / 0.8216 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=28): time 2.895e-06/1.402, allocations: 0 / 0.8216 GB, free: 117.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28): time 0.001807/1.404, allocations: 0.5597 MB / 0.8221 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/1.404, allocations: 59.36 kB / 0.8222 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003745/1.408, allocations: 1.522 MB / 0.8237 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002387/1.408, allocations: 45.7 kB / 0.8237 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007132/1.409, allocations: 0.5764 MB / 0.8243 GB, free: 114.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/1.409, allocations: 106.5 kB / 0.8244 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/1.409, allocations: 20 kB / 0.8244 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.41, allocations: 345.9 kB / 0.8247 GB, free: 114 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006601/1.41, allocations: 286.5 kB / 0.825 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.411, allocations: 0.9945 MB / 0.826 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/1.412, allocations: 439.3 kB / 0.8264 GB, free: 112 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/1.412, allocations: 4 kB / 0.8264 GB, free: 112 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003814/1.416, allocations: 1.354 MB / 0.8277 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/1.416, allocations: 16 kB / 0.8277 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.545e-05/1.416, allocations: 20 kB / 0.8278 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/1.417, allocations: 198.7 kB / 0.828 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/1.419, allocations: 223.6 kB / 0.8282 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005123/1.424, allocations: 4.776 MB / 0.8328 GB, free: 105 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/1.427, allocations: 202.6 kB / 0.833 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/1.427, allocations: 60 kB / 0.8331 GB, free: 104.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 115 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002304/1.428, allocations: 184.4 kB / 0.8333 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004582/1.428, allocations: 134.2 kB / 0.8334 GB, free: 104.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000411/1.428, allocations: 130.2 kB / 0.8335 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.428, allocations: 0 / 0.8335 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/1.428, allocations: 4 kB / 0.8335 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/1.428, allocations: 4 kB / 0.8335 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/1.43, allocations: 0.9481 MB / 0.8344 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.43, allocations: 0 / 0.8344 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/1.431, allocations: 39.91 kB / 0.8345 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008148/1.431, allocations: 162.5 kB / 0.8346 GB, free: 103 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/1.432, allocations: 7.984 kB / 0.8346 GB, free: 103 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004744/1.436, allocations: 4.717 MB / 0.8392 GB, free: 97.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.436, allocations: 7.938 kB / 0.8393 GB, free: 97.91 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/1.438, allocations: 0.8197 MB / 0.8401 GB, free: 97.06 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.44, allocations: 0.9368 MB / 0.841 GB, free: 95.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/1.44, allocations: 8 kB / 0.841 GB, free: 95.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/1.441, allocations: 51.83 kB / 0.841 GB, free: 95.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/1.441, allocations: 27.92 kB / 0.8411 GB, free: 95.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/1.441, allocations: 7.984 kB / 0.8411 GB, free: 95.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00235/1.444, allocations: 1.136 MB / 0.8422 GB, free: 94.76 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.4e-07/1.444, allocations: 3.938 kB / 0.8422 GB, free: 94.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002222/1.446, allocations: 415.7 kB / 0.8426 GB, free: 94.35 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMul.lay[2].T[1],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 (17): * Single equations (assignments): 14 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002299/1.448, allocations: 1.488 MB / 0.844 GB, free: 92.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002797/1.451, allocations: 1.033 MB / 0.845 GB, free: 91.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.451, allocations: 4.062 kB / 0.845 GB, free: 91.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/1.453, allocations: 0.5387 MB / 0.8456 GB, free: 91.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/1.456, allocations: 319.2 kB / 0.8459 GB, free: 90.87 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009335/1.466, allocations: 2.144 MB / 0.848 GB, free: 88.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/1.467, allocations: 1.324 MB / 0.8493 GB, free: 87.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00182/1.469, allocations: 241.5 kB / 0.8495 GB, free: 87.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/1.471, allocations: 475.3 kB / 0.8499 GB, free: 86.62 MB / 0.6511 GB Notification: Performance of SimCode: time 1.853e-06/1.471, allocations: 0 / 0.8499 GB, free: 86.62 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).