Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.491/2.491, allocations: 287.3 MB / 302.3 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.00153, allocations: 174.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 90.86 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004902, allocations: 10.53 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2073, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9207/1.128, allocations: 151.4 MB / 1.126 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/1.128, allocations: 79.95 kB / 1.126 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1941/1.322, allocations: 39.23 MB / 1.165 GB, free: 12.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.724e-06/1.322, allocations: 0 / 1.165 GB, free: 12.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000153/1.323, allocations: 32 kB / 1.165 GB, free: 11.99 MB / 0.698 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.006779/1.329, allocations: 1.792 MB / 1.166 GB, free: 10.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/1.33, allocations: 20 kB / 1.166 GB, free: 10.28 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/1.33, allocations: 83.09 kB / 1.166 GB, free: 10.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005169/1.33, allocations: 174.2 kB / 1.167 GB, free: 10.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007077/1.337, allocations: 1.866 MB / 1.168 GB, free: 8.547 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.503e-05/1.337, allocations: 59.12 kB / 1.168 GB, free: 8.512 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/1.338, allocations: 75.88 kB / 1.169 GB, free: 8.461 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/1.339, allocations: 0.5161 MB / 1.169 GB, free: 8.047 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/1.339, allocations: 3.938 kB / 1.169 GB, free: 8.043 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/1.339, allocations: 16.25 kB / 1.169 GB, free: 8.039 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/1.339, allocations: 12 kB / 1.169 GB, free: 8.027 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009169/1.34, allocations: 331.2 kB / 1.169 GB, free: 7.797 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006635/1.347, allocations: 3.236 MB / 1.173 GB, free: 4.844 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/1.348, allocations: 461.8 kB / 1.173 GB, free: 4.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/1.348, allocations: 4 kB / 1.173 GB, free: 4.496 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/1.349, allocations: 30.56 kB / 1.173 GB, free: 4.457 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 5.21e-06/1.349, allocations: 3.984 kB / 1.173 GB, free: 4.453 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.003592/1.352, allocations: 1.049 MB / 1.174 GB, free: 3.473 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/1.352, allocations: 55.41 kB / 1.174 GB, free: 3.406 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003605/1.356, allocations: 1.545 MB / 1.176 GB, free: 2.246 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001458/1.356, allocations: 43.95 kB / 1.176 GB, free: 2.211 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006966/1.357, allocations: 0.5759 MB / 1.176 GB, free: 1.906 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/1.357, allocations: 97.48 kB / 1.176 GB, free: 1.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-05/1.357, allocations: 26.12 kB / 1.176 GB, free: 1.812 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001946/1.357, allocations: 348.2 kB / 1.177 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007891/1.358, allocations: 301.4 kB / 1.177 GB, free: 1.258 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/1.359, allocations: 0.9028 MB / 1.178 GB, free: 168 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/1.36, allocations: 431 kB / 1.178 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/1.36, allocations: 8 kB / 1.178 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003595/1.364, allocations: 1.365 MB / 1.18 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/1.364, allocations: 12.34 kB / 1.18 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.429e-05/1.364, allocations: 28 kB / 1.18 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009766/1.365, allocations: 200 kB / 1.18 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/1.366, allocations: 230.7 kB / 1.18 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006245/1.373, allocations: 4.837 MB / 1.185 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/1.375, allocations: 186 kB / 1.185 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/1.375, allocations: 62.44 kB / 1.185 GB, free: 9.262 MB / 0.7136 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 () * Number of clocked 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.001078/1.376, allocations: 473.7 kB / 1.185 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005242/1.377, allocations: 138.2 kB / 1.186 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/1.377, allocations: 124 kB / 1.186 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/1.377, allocations: 4 kB / 1.186 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/1.377, allocations: 4 kB / 1.186 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/1.377, allocations: 3.984 kB / 1.186 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/1.379, allocations: 0.9471 MB / 1.187 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.379, allocations: 0 / 1.187 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/1.379, allocations: 39.86 kB / 1.187 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008764/1.38, allocations: 170.6 kB / 1.187 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/1.38, allocations: 11.38 kB / 1.187 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006253/1.387, allocations: 4.778 MB / 1.191 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.387, allocations: 0 / 1.191 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/1.389, allocations: 0.8393 MB / 1.192 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/1.39, allocations: 0.9407 MB / 1.193 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/1.391, allocations: 10.75 kB / 1.193 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/1.392, allocations: 54.89 kB / 1.193 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.392, allocations: 27.58 kB / 1.193 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/1.392, allocations: 4 kB / 1.193 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002642/1.395, allocations: 1.146 MB / 1.194 GB, free: 340 kB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.395, allocations: 0 / 1.194 GB, free: 340 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00202/1.397, allocations: 432 kB / 1.195 GB, free: 15.93 MB / 0.7292 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 () * Number of clocked 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.002702/1.399, allocations: 1.47 MB / 1.196 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002584/1.402, allocations: 1.054 MB / 1.197 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.402, allocations: 4.062 kB / 1.197 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/1.403, allocations: 0.569 MB / 1.198 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/1.406, allocations: 327.1 kB / 1.198 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/1.421, allocations: 18.64 MB / 1.216 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/1.422, allocations: 1.318 MB / 1.218 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001239/1.424, allocations: 237.6 kB / 1.218 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008442/1.425, allocations: 468.7 kB / 1.218 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of SimCode: time 1.864e-06/1.425, allocations: 0 / 1.218 GB, free: 8.52 MB / 0.7448 GB Error: Template error: A template call failed (/var/lib/jenkins1/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).