Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.162/2.162, allocations: 390.3 MB / 402.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009417/0.0009417, allocations: 176.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.3 MB / 0.7915 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008809/0.0008807, allocations: 95.66 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.952e-05/2.955e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3317, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8691/1.201, allocations: 163.5 MB / 1.378 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.201, allocations: 76.97 kB / 1.379 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.1484/1.35, allocations: 43.63 MB / 1.421 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.943e-06/1.35, allocations: 0 / 1.421 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002111/1.35, allocations: 32 kB / 1.421 GB, free: 0.8867 MB / 0.8698 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.003261/1.353, allocations: 1.419 MB / 1.423 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.353, allocations: 12.03 kB / 1.423 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002003/1.353, allocations: 94.58 kB / 1.423 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007547/1.354, allocations: 194 kB / 1.423 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005809/1.36, allocations: 2.453 MB / 1.425 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.729e-05/1.36, allocations: 60.19 kB / 1.425 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/1.36, allocations: 92.19 kB / 1.425 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/1.361, allocations: 0.6771 MB / 1.426 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/1.361, allocations: 0 / 1.426 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/1.361, allocations: 20.5 kB / 1.426 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/1.362, allocations: 16 kB / 1.426 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006752/1.362, allocations: 404.2 kB / 1.426 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006142/1.368, allocations: 4.09 MB / 1.43 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/1.37, allocations: 0.664 MB / 1.431 GB, free: 8.141 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/1.37, allocations: 221.1 kB / 1.431 GB, free: 7.988 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/1.37, allocations: 8 kB / 1.431 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/1.37, allocations: 37.8 kB / 1.431 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 2.254e-06/1.37, allocations: 0 / 1.431 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.001433/1.372, allocations: 0.6726 MB / 1.432 GB, free: 7.375 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/1.372, allocations: 59.41 kB / 1.432 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/1.375, allocations: 1.528 MB / 1.434 GB, free: 6.148 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.803e-05/1.375, allocations: 46.45 kB / 1.434 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006267/1.375, allocations: 0.6301 MB / 1.434 GB, free: 5.648 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/1.376, allocations: 146 kB / 1.434 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/1.376, allocations: 27.94 kB / 1.434 GB, free: 5.477 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000187/1.376, allocations: 353.9 kB / 1.435 GB, free: 5.125 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006134/1.377, allocations: 378.4 kB / 1.435 GB, free: 4.758 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/1.378, allocations: 1.014 MB / 1.436 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00085/1.378, allocations: 0.5461 MB / 1.437 GB, free: 2.879 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/1.379, allocations: 8 kB / 1.437 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002793/1.381, allocations: 1.595 MB / 1.438 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/1.381, allocations: 13.25 kB / 1.438 GB, free: 1.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/1.381, allocations: 24 kB / 1.438 GB, free: 1.227 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/1.382, allocations: 201.9 kB / 1.438 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008834/1.383, allocations: 279.5 kB / 1.439 GB, free: 0.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00413/1.387, allocations: 3.705 MB / 1.442 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/1.389, allocations: 294.3 kB / 1.443 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/1.389, allocations: 64 kB / 1.443 GB, free: 12.42 MB / 0.9011 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.0002583/1.39, allocations: 185.6 kB / 1.443 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004754/1.39, allocations: 146 kB / 1.443 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005019/1.391, allocations: 147.4 kB / 1.443 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/1.391, allocations: 11.95 kB / 1.443 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/1.391, allocations: 4 kB / 1.443 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.391, allocations: 0 / 1.443 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/1.393, allocations: 1.145 MB / 1.444 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.393, allocations: 0 / 1.444 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/1.393, allocations: 71.88 kB / 1.444 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004661/1.394, allocations: 162 kB / 1.444 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/1.394, allocations: 8 kB / 1.444 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003535/1.397, allocations: 3.67 MB / 1.448 GB, free: 6.551 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.397, allocations: 0 / 1.448 GB, free: 6.551 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/1.399, allocations: 1.014 MB / 1.449 GB, free: 5.512 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.4, allocations: 0.9678 MB / 1.45 GB, free: 4.402 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/1.4, allocations: 12 kB / 1.45 GB, free: 4.391 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.402, allocations: 111.7 kB / 1.45 GB, free: 4.281 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/1.402, allocations: 27.95 kB / 1.45 GB, free: 4.254 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/1.402, allocations: 8 kB / 1.45 GB, free: 4.246 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001888/1.404, allocations: 1.136 MB / 1.451 GB, free: 3.117 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.773e-06/1.404, allocations: 3.938 kB / 1.451 GB, free: 3.113 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001808/1.405, allocations: 0.5582 MB / 1.452 GB, free: 2.555 MB / 0.9011 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.00204/1.407, allocations: 1.701 MB / 1.453 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001793/1.409, allocations: 1.107 MB / 1.455 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.409, allocations: 0.9375 kB / 1.455 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006923/1.41, allocations: 0.493 MB / 1.455 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/1.411, allocations: 358.1 kB / 1.455 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/1.416, allocations: 2.634 MB / 1.458 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/1.417, allocations: 1.391 MB / 1.459 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008237/1.418, allocations: 306.6 kB / 1.46 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000664/1.419, allocations: 0.5149 MB / 1.46 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of SimCode: time 4.8e-07/1.419, allocations: 0 / 1.46 GB, free: 9.883 MB / 0.9167 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).