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.603/2.603, allocations: 393.5 MB / 408.4 MB, free: 11 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.001594/0.001594, allocations: 190.6 kB / 0.4901 GB, free: 2.215 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.655/1.655, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.001007/0.001006, allocations: 110.6 kB / 0.9396 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003855, allocations: 8.016 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3003, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2201/0.5205, allocations: 163.5 MB / 1.389 GB, free: 1.66 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.5208, allocations: 87.94 kB / 1.389 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.8679/1.389, allocations: 43.58 MB / 1.432 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.896e-06/1.389, allocations: 0 / 1.432 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002961/1.389, allocations: 39.11 kB / 1.432 GB, free: 163.3 MB / 0.9011 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.008161/1.397, allocations: 2.098 MB / 1.434 GB, free: 162.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/1.397, allocations: 9.125 kB / 1.434 GB, free: 162.3 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003527/1.398, allocations: 97.61 kB / 1.434 GB, free: 162.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/1.399, allocations: 180.8 kB / 1.434 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007607/1.407, allocations: 2.509 MB / 1.436 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/1.407, allocations: 64.56 kB / 1.436 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/1.407, allocations: 93.66 kB / 1.437 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/1.408, allocations: 0.6792 MB / 1.437 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/1.408, allocations: 0.9688 kB / 1.437 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.699e-05/1.408, allocations: 29.55 kB / 1.437 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/1.408, allocations: 12.5 kB / 1.437 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008315/1.409, allocations: 436.4 kB / 1.438 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006631/1.416, allocations: 4.09 MB / 1.442 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/1.417, allocations: 0.6654 MB / 1.442 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/1.418, allocations: 3.594 kB / 1.442 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/1.418, allocations: 36.72 kB / 1.442 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=37): time 2.815e-06/1.418, allocations: 3.938 kB / 1.442 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37): time 0.002668/1.42, allocations: 1.16 MB / 1.443 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/1.42, allocations: 54.91 kB / 1.444 GB, free: 157.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/1.423, allocations: 1.551 MB / 1.445 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/1.423, allocations: 43.52 kB / 1.445 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/1.423, allocations: 0.6373 MB / 1.446 GB, free: 157 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/1.424, allocations: 137.7 kB / 1.446 GB, free: 156.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/1.424, allocations: 27.47 kB / 1.446 GB, free: 156.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.664e-05/1.424, allocations: 358.8 kB / 1.446 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/1.424, allocations: 393.4 kB / 1.447 GB, free: 156.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000865/1.425, allocations: 1.025 MB / 1.448 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008005/1.426, allocations: 0.539 MB / 1.448 GB, free: 155.4 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/1.426, allocations: 6.688 kB / 1.448 GB, free: 155.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002951/1.429, allocations: 1.624 MB / 1.45 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/1.429, allocations: 18.92 kB / 1.45 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.687e-05/1.429, allocations: 27.31 kB / 1.45 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006766/1.43, allocations: 190.3 kB / 1.45 GB, free: 154.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008871/1.431, allocations: 280.9 kB / 1.45 GB, free: 154.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/1.434, allocations: 3.785 MB / 1.454 GB, free: 151.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/1.436, allocations: 294.5 kB / 1.454 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/1.436, allocations: 62.66 kB / 1.454 GB, free: 151.5 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 () * 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.0008769/1.437, allocations: 0.5146 MB / 1.455 GB, free: 151.1 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/1.437, allocations: 151.1 kB / 1.455 GB, free: 151.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/1.438, allocations: 140.7 kB / 1.455 GB, free: 151 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.438, allocations: 3.906 kB / 1.455 GB, free: 151 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.438, allocations: 3.562 kB / 1.455 GB, free: 151 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.438, allocations: 0 / 1.455 GB, free: 151 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/1.439, allocations: 1.142 MB / 1.456 GB, free: 150.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/1.439, allocations: 4 kB / 1.456 GB, free: 150.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/1.439, allocations: 73.12 kB / 1.456 GB, free: 150.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004151/1.44, allocations: 159 kB / 1.456 GB, free: 150 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/1.44, allocations: 19.73 kB / 1.456 GB, free: 150 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/1.442, allocations: 3.744 MB / 1.46 GB, free: 146.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.443, allocations: 3.969 kB / 1.46 GB, free: 146.6 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/1.444, allocations: 1.038 MB / 1.461 GB, free: 146 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009847/1.445, allocations: 0.964 MB / 1.462 GB, free: 145 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003081/1.445, allocations: 14.45 kB / 1.462 GB, free: 145 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.446, allocations: 109.8 kB / 1.462 GB, free: 144.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/1.446, allocations: 26.94 kB / 1.462 GB, free: 144.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/1.446, allocations: 9.531 kB / 1.462 GB, free: 144.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001757/1.448, allocations: 1.156 MB / 1.463 GB, free: 144.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.31e-07/1.448, allocations: 0 / 1.463 GB, free: 144.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001904/1.45, allocations: 0.5595 MB / 1.464 GB, free: 144.2 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 () * 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.001802/1.452, allocations: 1.703 MB / 1.465 GB, free: 143 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001771/1.454, allocations: 1.125 MB / 1.467 GB, free: 142.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.454, allocations: 0 / 1.467 GB, free: 142.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006113/1.454, allocations: 0.5136 MB / 1.467 GB, free: 142 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/1.456, allocations: 354 kB / 1.467 GB, free: 141.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009392/1.465, allocations: 20.06 MB / 1.487 GB, free: 121.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/1.467, allocations: 1.391 MB / 1.488 GB, free: 120.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001181/1.468, allocations: 298.6 kB / 1.489 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008886/1.469, allocations: 0.5188 MB / 1.489 GB, free: 119.5 MB / 0.9011 GB Notification: Performance of SimCode: time 1.954e-06/1.469, allocations: 0 / 1.489 GB, free: 119.5 MB / 0.9011 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).