Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.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.ConductorSteadyStateTransient,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",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.657/2.657, allocations: 287.3 MB / 302.3 MB, free: 8.25 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.001568/0.001568, allocations: 181.3 kB / 370.8 MB, free: 10.88 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.069/2.069, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001061/0.001061, allocations: 86.86 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004858, allocations: 11.78 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2237, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9473/1.171, allocations: 151.3 MB / 1.126 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/1.171, allocations: 84.11 kB / 1.126 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2375/1.409, allocations: 43.17 MB / 1.168 GB, free: 8.938 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/1.409, allocations: 4 kB / 1.168 GB, free: 8.934 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001849/1.409, allocations: 32 kB / 1.168 GB, free: 8.902 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.009562/1.419, allocations: 2.099 MB / 1.17 GB, free: 6.941 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/1.419, allocations: 12.02 kB / 1.17 GB, free: 6.93 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000357/1.419, allocations: 93.77 kB / 1.17 GB, free: 6.859 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009362/1.42, allocations: 186.1 kB / 1.171 GB, free: 6.676 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009849/1.43, allocations: 2.509 MB / 1.173 GB, free: 4.711 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/1.43, allocations: 61 kB / 1.173 GB, free: 4.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/1.43, allocations: 93.53 kB / 1.173 GB, free: 4.617 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/1.432, allocations: 0.679 MB / 1.174 GB, free: 4.066 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/1.432, allocations: 7.938 kB / 1.174 GB, free: 4.059 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.864e-05/1.432, allocations: 22.19 kB / 1.174 GB, free: 4.051 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/1.432, allocations: 12 kB / 1.174 GB, free: 4.039 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/1.433, allocations: 435.2 kB / 1.174 GB, free: 3.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/1.444, allocations: 4.09 MB / 1.178 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00495/1.449, allocations: 0.6797 MB / 1.179 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.096e-05/1.449, allocations: 4 kB / 1.179 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.449, allocations: 30.56 kB / 1.179 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 4.749e-06/1.449, allocations: 0 / 1.179 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.006321/1.455, allocations: 1.159 MB / 1.18 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/1.455, allocations: 55.41 kB / 1.18 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005278/1.461, allocations: 1.552 MB / 1.182 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002643/1.461, allocations: 46.7 kB / 1.182 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/1.462, allocations: 0.6242 MB / 1.182 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004981/1.463, allocations: 146.9 kB / 1.183 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/1.463, allocations: 28.5 kB / 1.183 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002887/1.463, allocations: 352.2 kB / 1.183 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/1.465, allocations: 394.8 kB / 1.183 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/1.468, allocations: 1.035 MB / 1.184 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002347/1.47, allocations: 0.5284 MB / 1.185 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-05/1.47, allocations: 12 kB / 1.185 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.007487/1.478, allocations: 1.628 MB / 1.186 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.988e-05/1.478, allocations: 12.41 kB / 1.186 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.836e-05/1.478, allocations: 28 kB / 1.186 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/1.479, allocations: 198.4 kB / 1.187 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/1.482, allocations: 283 kB / 1.187 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008727/1.491, allocations: 3.78 MB / 1.191 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005185/1.496, allocations: 290.6 kB / 1.191 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/1.496, allocations: 63.5 kB / 1.191 GB, free: 4.695 MB / 0.7136 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 () * Number of clocked 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.001785/1.498, allocations: 0.5124 MB / 1.191 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006678/1.499, allocations: 142.1 kB / 1.192 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005592/1.5, allocations: 145.4 kB / 1.192 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/1.5, allocations: 7.938 kB / 1.192 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.135e-05/1.5, allocations: 0 / 1.192 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/1.5, allocations: 3.953 kB / 1.192 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/1.504, allocations: 1.145 MB / 1.193 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/1.504, allocations: 0 / 1.193 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/1.505, allocations: 75.81 kB / 1.193 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/1.506, allocations: 153.6 kB / 1.193 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/1.507, allocations: 19.05 kB / 1.193 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008981/1.516, allocations: 3.742 MB / 1.197 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.516, allocations: 4.062 kB / 1.197 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004414/1.52, allocations: 1.045 MB / 1.198 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002375/1.523, allocations: 0.9634 MB / 1.199 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006307/1.523, allocations: 11.11 kB / 1.199 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003128/1.526, allocations: 110.4 kB / 1.199 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/1.527, allocations: 30.95 kB / 1.199 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/1.527, allocations: 7.438 kB / 1.199 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005742/1.533, allocations: 1.157 MB / 1.2 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.41e-07/1.533, allocations: 0 / 1.2 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00288/1.536, allocations: 0.5506 MB / 1.201 GB, free: 11.96 MB / 0.7292 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 () * Number of clocked 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.003798/1.539, allocations: 1.698 MB / 1.202 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003066/1.543, allocations: 1.124 MB / 1.203 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.543, allocations: 320 / 1.203 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/1.544, allocations: 0.5133 MB / 1.204 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/1.547, allocations: 361.1 kB / 1.204 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/1.565, allocations: 20.05 MB / 1.224 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001975/1.567, allocations: 1.394 MB / 1.225 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001653/1.568, allocations: 298.6 kB / 1.225 GB, free: 3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/1.57, allocations: 0.523 MB / 1.226 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of SimCode: time 2.084e-06/1.57, allocations: 4 kB / 1.226 GB, free: 2.875 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).