Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.009/4.009, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5244/4.534, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/4.782, allocations: 98.72 MB / 0.6283 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/5.978, allocations: 419.7 MB / 1.038 GB, free: 0.8047 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/5.978, allocations: 90.27 kB / 1.038 GB, free: 0.7539 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.8389/6.817, allocations: 84.93 MB / 1.121 GB, free: 274.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/6.817, allocations: 18 kB / 1.121 GB, free: 274.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/6.817, allocations: 22.31 kB / 1.121 GB, free: 274.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/6.818, allocations: 211.3 kB / 1.121 GB, free: 274.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/6.818, allocations: 3.844 kB / 1.121 GB, free: 274.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/6.818, allocations: 11.66 kB / 1.121 GB, free: 274.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008889/6.818, allocations: 406.2 kB / 1.122 GB, free: 274.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/6.819, allocations: 221 kB / 1.122 GB, free: 274.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/6.819, allocations: 3.938 kB / 1.122 GB, free: 274.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/6.819, allocations: 3.906 kB / 1.122 GB, free: 274.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/6.819, allocations: 15.05 kB / 1.122 GB, free: 274.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/6.821, allocations: 0.9891 MB / 1.123 GB, free: 273.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/6.821, allocations: 143.5 kB / 1.123 GB, free: 273.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/6.822, allocations: 57.98 kB / 1.123 GB, free: 273.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002091/6.824, allocations: 1.943 MB / 1.125 GB, free: 271.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/6.824, allocations: 44.66 kB / 1.125 GB, free: 271.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 2.615e-06/6.824, allocations: 0 / 1.125 GB, free: 271.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.001057/6.825, allocations: 140.5 kB / 1.125 GB, free: 271.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/6.825, allocations: 55.19 kB / 1.125 GB, free: 271.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/6.825, allocations: 133.7 kB / 1.125 GB, free: 271.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/6.825, allocations: 25.7 kB / 1.125 GB, free: 271.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/6.825, allocations: 135.2 kB / 1.126 GB, free: 271 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/6.825, allocations: 56.77 kB / 1.126 GB, free: 270.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/6.825, allocations: 3.938 kB / 1.126 GB, free: 270.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.824e-05/6.825, allocations: 324.1 kB / 1.126 GB, free: 270.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/6.826, allocations: 26.12 kB / 1.126 GB, free: 270.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/6.826, allocations: 125.9 kB / 1.126 GB, free: 270.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/6.826, allocations: 77.64 kB / 1.126 GB, free: 270.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/6.827, allocations: 3.875 kB / 1.126 GB, free: 270.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001108/6.828, allocations: 214.1 kB / 1.126 GB, free: 270.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/6.828, allocations: 3.719 kB / 1.126 GB, free: 270.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/6.828, allocations: 3.781 kB / 1.126 GB, free: 270.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/6.828, allocations: 7.906 kB / 1.126 GB, free: 270.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/6.828, allocations: 59.58 kB / 1.126 GB, free: 270.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/6.828, allocations: 3.969 kB / 1.126 GB, free: 270.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/6.829, allocations: 27.31 kB / 1.127 GB, free: 270.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/6.829, allocations: 20.62 kB / 1.127 GB, free: 270.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001181/6.829, allocations: 111.5 kB / 1.127 GB, free: 270.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/6.829, allocations: 15.75 kB / 1.127 GB, free: 270.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/6.83, allocations: 189.2 kB / 1.127 GB, free: 270.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/6.83, allocations: 3.906 kB / 1.127 GB, free: 270.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/6.83, allocations: 0 / 1.127 GB, free: 270.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/6.83, allocations: 7.906 kB / 1.127 GB, free: 270.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/6.831, allocations: 181.8 kB / 1.127 GB, free: 270.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/6.831, allocations: 0 / 1.127 GB, free: 270.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/6.831, allocations: 34.78 kB / 1.127 GB, free: 270.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/6.831, allocations: 0 / 1.127 GB, free: 270.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/6.831, allocations: 4.531 kB / 1.127 GB, free: 270.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/6.831, allocations: 0 / 1.127 GB, free: 270.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/6.831, allocations: 0 / 1.127 GB, free: 270.1 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009087/6.832, allocations: 247.3 kB / 1.127 GB, free: 269.9 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001125/6.833, allocations: 0.6262 MB / 1.128 GB, free: 269.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/6.833, allocations: 118.5 kB / 1.128 GB, free: 269.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/6.833, allocations: 7.156 kB / 1.128 GB, free: 269.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/6.834, allocations: 7.766 kB / 1.128 GB, free: 269.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/6.834, allocations: 8.5 kB / 1.128 GB, free: 269.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/6.834, allocations: 9.812 kB / 1.128 GB, free: 269.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.873e-05/6.834, allocations: 106.1 kB / 1.128 GB, free: 269.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002337/6.836, allocations: 91.59 kB / 1.128 GB, free: 269.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005263/6.837, allocations: 236.7 kB / 1.128 GB, free: 269.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004201/6.837, allocations: 108.7 kB / 1.129 GB, free: 269.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/6.837, allocations: 0 / 1.129 GB, free: 269.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/6.837, allocations: 41.17 kB / 1.129 GB, free: 269.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/6.838, allocations: 27.58 kB / 1.129 GB, free: 269.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008154/6.839, allocations: 162.1 kB / 1.129 GB, free: 269 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/6.839, allocations: 0.75 MB / 1.13 GB, free: 268.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.042e-06/6.839, allocations: 3.938 kB / 1.13 GB, free: 268.3 MB / 0.823 GB