Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001095/0.001095, allocations: 180 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.1 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008928/0.0008929, allocations: 88.52 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.987e-05/3.991e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3143, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9745/1.289, allocations: 152.4 MB / 1.129 GB, free: 34.52 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/1.289, allocations: 80.73 kB / 1.129 GB, free: 34.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1438/1.433, allocations: 43.19 MB / 1.171 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.094e-06/1.433, allocations: 0 / 1.171 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001245/1.433, allocations: 35.94 kB / 1.171 GB, free: 6.855 MB / 0.7448 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.002112/1.435, allocations: 1.431 MB / 1.172 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.435, allocations: 11.97 kB / 1.172 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/1.436, allocations: 101.3 kB / 1.172 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/1.436, allocations: 177.8 kB / 1.173 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004413/1.44, allocations: 2.453 MB / 1.175 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/1.44, allocations: 65.19 kB / 1.175 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/1.441, allocations: 83.31 kB / 1.175 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009172/1.441, allocations: 0.6701 MB / 1.176 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/1.441, allocations: 3.938 kB / 1.176 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/1.442, allocations: 26.42 kB / 1.176 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/1.442, allocations: 16 kB / 1.176 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/1.442, allocations: 413.5 kB / 1.176 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004635/1.447, allocations: 4.084 MB / 1.18 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/1.448, allocations: 0.674 MB / 1.181 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/1.449, allocations: 219.1 kB / 1.181 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/1.449, allocations: 4 kB / 1.181 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.449, allocations: 42.94 kB / 1.181 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=37): time 3.086e-06/1.449, allocations: 0 / 1.181 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37): time 0.001376/1.45, allocations: 0.6726 MB / 1.182 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/1.45, allocations: 55.41 kB / 1.182 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/1.452, allocations: 1.533 MB / 1.183 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/1.453, allocations: 46.27 kB / 1.183 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005592/1.453, allocations: 0.6342 MB / 1.184 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/1.453, allocations: 137.9 kB / 1.184 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/1.453, allocations: 23.31 kB / 1.184 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002057/1.454, allocations: 352.6 kB / 1.185 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000619/1.454, allocations: 384.5 kB / 1.185 GB, free: 11 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/1.455, allocations: 1.018 MB / 1.186 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008079/1.456, allocations: 0.5332 MB / 1.186 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.456, allocations: 7.938 kB / 1.186 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002491/1.459, allocations: 1.593 MB / 1.188 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/1.459, allocations: 16.94 kB / 1.188 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/1.459, allocations: 24 kB / 1.188 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/1.459, allocations: 188.2 kB / 1.188 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008897/1.46, allocations: 282.2 kB / 1.188 GB, free: 7.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/1.464, allocations: 3.719 MB / 1.192 GB, free: 4.023 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/1.467, allocations: 283.9 kB / 1.192 GB, free: 3.762 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.713e-05/1.467, allocations: 63.06 kB / 1.192 GB, free: 3.707 MB / 0.7605 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.0002334/1.467, allocations: 193.4 kB / 1.193 GB, free: 3.543 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/1.467, allocations: 146.9 kB / 1.193 GB, free: 3.398 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/1.468, allocations: 145.8 kB / 1.193 GB, free: 3.309 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/1.468, allocations: 4 kB / 1.193 GB, free: 3.305 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/1.468, allocations: 0 / 1.193 GB, free: 3.305 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/1.468, allocations: 7.938 kB / 1.193 GB, free: 3.297 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/1.469, allocations: 1.144 MB / 1.194 GB, free: 2.387 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.469, allocations: 4 kB / 1.194 GB, free: 2.383 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/1.47, allocations: 75.64 kB / 1.194 GB, free: 2.312 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004358/1.47, allocations: 160.7 kB / 1.194 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/1.47, allocations: 8.125 kB / 1.194 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004133/1.474, allocations: 3.684 MB / 1.198 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.474, allocations: 0 / 1.198 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/1.476, allocations: 1.016 MB / 1.199 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.478, allocations: 0.9624 MB / 1.2 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/1.478, allocations: 14.8 kB / 1.2 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/1.479, allocations: 108 kB / 1.2 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/1.479, allocations: 27.34 kB / 1.2 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/1.479, allocations: 7.438 kB / 1.2 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002153/1.481, allocations: 1.143 MB / 1.201 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.6e-07/1.481, allocations: 0 / 1.201 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001965/1.483, allocations: 0.5516 MB / 1.202 GB, free: 11.27 MB / 0.7761 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.002259/1.486, allocations: 1.699 MB / 1.203 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002136/1.488, allocations: 1.097 MB / 1.204 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.488, allocations: 0 / 1.204 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007332/1.489, allocations: 0.4961 MB / 1.205 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/1.49, allocations: 360.8 kB / 1.205 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004936/1.495, allocations: 2.637 MB / 1.208 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/1.496, allocations: 1.401 MB / 1.209 GB, free: 4.352 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001007/1.497, allocations: 298.6 kB / 1.209 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007687/1.498, allocations: 0.5222 MB / 1.21 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of SimCode: time 2.435e-06/1.498, allocations: 0 / 1.21 GB, free: 3.934 MB / 0.7761 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).