Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.0009981/0.0009981, allocations: 173.1 kB / 498.1 MB, free: 5.734 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.491/1.491, allocations: 223.1 MB / 0.7948 GB, free: 17.91 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.001052/0.001052, allocations: 96.2 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003655, allocations: 10.16 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3371, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/0.535, allocations: 159.6 MB / 1.379 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.5354, allocations: 87.89 kB / 1.379 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1229/0.6582, allocations: 34.2 MB / 1.412 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6583, allocations: 0 / 1.412 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001239/0.6584, allocations: 20 kB / 1.412 GB, free: 15.82 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.005092/0.6635, allocations: 1.602 MB / 1.414 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.6636, allocations: 12.03 kB / 1.414 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/0.6638, allocations: 78.47 kB / 1.414 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000712/0.6645, allocations: 106.7 kB / 1.414 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00525/0.6698, allocations: 2.081 MB / 1.416 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.6698, allocations: 28.66 kB / 1.416 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.6699, allocations: 59.86 kB / 1.416 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008421/0.6708, allocations: 0.5355 MB / 1.417 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.6708, allocations: 0 / 1.417 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.6708, allocations: 12 kB / 1.417 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.6709, allocations: 12 kB / 1.417 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005548/0.6714, allocations: 349.8 kB / 1.417 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004197/0.6756, allocations: 3.134 MB / 1.42 GB, free: 7.523 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.6775, allocations: 0.6665 MB / 1.421 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.6776, allocations: 0 / 1.421 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.6776, allocations: 34.56 kB / 1.421 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=26): time 1.322e-06/0.6776, allocations: 4 kB / 1.421 GB, free: 6.797 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26): time 0.001433/0.679, allocations: 0.7569 MB / 1.422 GB, free: 6.012 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.6791, allocations: 59.34 kB / 1.422 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002104/0.6812, allocations: 1.279 MB / 1.423 GB, free: 4.645 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.6813, allocations: 41.7 kB / 1.423 GB, free: 4.598 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.6816, allocations: 412.8 kB / 1.423 GB, free: 4.188 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.6819, allocations: 106.5 kB / 1.423 GB, free: 4.082 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.6819, allocations: 16 kB / 1.423 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.682, allocations: 333.9 kB / 1.424 GB, free: 3.734 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.6825, allocations: 289.1 kB / 1.424 GB, free: 3.453 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.6831, allocations: 0.5824 MB / 1.425 GB, free: 2.727 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005296/0.6836, allocations: 383.5 kB / 1.425 GB, free: 2.352 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.6836, allocations: 4 kB / 1.425 GB, free: 2.348 MB / 0.9167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00219/0.6858, allocations: 1.251 MB / 1.426 GB, free: 1.086 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.6859, allocations: 12 kB / 1.426 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.6859, allocations: 8 kB / 1.426 GB, free: 1.066 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.6871, allocations: 446.8 kB / 1.427 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.6874, allocations: 115.8 kB / 1.427 GB, free: 0.5156 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6615/1.349, allocations: 4.979 MB / 1.432 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/1.351, allocations: 443.9 kB / 1.432 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/1.352, allocations: 35.25 kB / 1.432 GB, free: 185.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (61): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007157/1.352, allocations: 428.4 kB / 1.432 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/1.352, allocations: 91.66 kB / 1.433 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/1.353, allocations: 104.1 kB / 1.433 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/1.353, allocations: 3.453 kB / 1.433 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.353, allocations: 1 kB / 1.433 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.353, allocations: 1.359 kB / 1.433 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/1.355, allocations: 1.119 MB / 1.434 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.355, allocations: 1.062 kB / 1.434 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/1.355, allocations: 95.44 kB / 1.434 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002133/1.355, allocations: 45.08 kB / 1.434 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/1.355, allocations: 16.55 kB / 1.434 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/1.357, allocations: 1.433 MB / 1.435 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.357, allocations: 5.047 kB / 1.435 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/1.358, allocations: 0.8242 MB / 1.436 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/1.359, allocations: 0.9502 MB / 1.437 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/1.36, allocations: 19.64 kB / 1.437 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/1.361, allocations: 211 kB / 1.437 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/1.361, allocations: 20.84 kB / 1.437 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/1.361, allocations: 8.078 kB / 1.437 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002003/1.363, allocations: 0.9701 MB / 1.438 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.7e-07/1.363, allocations: 0 / 1.438 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002266/1.365, allocations: 0.579 MB / 1.439 GB, free: 182.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * 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): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002132/1.367, allocations: 1.489 MB / 1.44 GB, free: 181.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002407/1.37, allocations: 0.9163 MB / 1.441 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.37, allocations: 0 / 1.441 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005724/1.37, allocations: 327.1 kB / 1.441 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/1.372, allocations: 275.6 kB / 1.442 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006787/1.378, allocations: 10.34 MB / 1.452 GB, free: 173.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009945/1.38, allocations: 1.171 MB / 1.453 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0008748/1.38, allocations: 257.8 kB / 1.453 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/1.381, allocations: 313.4 kB / 1.453 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of SimCode: time 1.262e-06/1.381, allocations: 0 / 1.453 GB, free: 172.3 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).