Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.317/2.317, allocations: 248.6 MB / 255.9 MB, free: 7.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002862/0.002862, allocations: 177.3 kB / 315.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.1 MB / 0.5658 GB, free: 316 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 90.75 kB / 0.67 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4976/0.499, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.7224, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.648/2.37, allocations: 417.5 MB / 1.291 GB, free: 245.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/2.371, allocations: 65.86 kB / 1.291 GB, free: 245.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.06396/2.435, allocations: 17.75 MB / 1.309 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/2.435, allocations: 8.781 kB / 1.309 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/2.435, allocations: 2.656 kB / 1.309 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/2.435, allocations: 164.4 kB / 1.309 GB, free: 243.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.837e-05/2.435, allocations: 31.42 kB / 1.309 GB, free: 243.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/2.435, allocations: 10.22 kB / 1.309 GB, free: 243.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.631e-05/2.435, allocations: 9.5 kB / 1.309 GB, free: 243.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.41e-05/2.435, allocations: 45.39 kB / 1.309 GB, free: 243.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/2.435, allocations: 0 / 1.309 GB, free: 243.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/2.435, allocations: 0 / 1.309 GB, free: 243.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/2.435, allocations: 6.094 kB / 1.309 GB, free: 243.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/2.436, allocations: 309.2 kB / 1.309 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.43e-05/2.436, allocations: 20.73 kB / 1.309 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/2.436, allocations: 8.25 kB / 1.309 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.473e-05/2.436, allocations: 84.23 kB / 1.309 GB, free: 242.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/2.436, allocations: 32.48 kB / 1.309 GB, free: 242.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/2.436, allocations: 0 / 1.309 GB, free: 242.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0002075/2.436, allocations: 36.81 kB / 1.309 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/2.436, allocations: 56.22 kB / 1.309 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/2.437, allocations: 102.5 kB / 1.309 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/2.437, allocations: 27.14 kB / 1.31 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/2.437, allocations: 85.61 kB / 1.31 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/2.437, allocations: 5.375 kB / 1.31 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/2.437, allocations: 0 / 1.31 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.006e-05/2.437, allocations: 312.2 kB / 1.31 GB, free: 242 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/2.437, allocations: 3.203 kB / 1.31 GB, free: 242 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.759e-05/2.437, allocations: 21.91 kB / 1.31 GB, free: 242 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.878e-05/2.437, allocations: 7.547 kB / 1.31 GB, free: 242 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/2.437, allocations: 1.125 kB / 1.31 GB, free: 242 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001527/2.437, allocations: 54.36 kB / 1.31 GB, free: 242 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/2.437, allocations: 7.969 kB / 1.31 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/2.437, allocations: 2.234 kB / 1.31 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/2.437, allocations: 0 / 1.31 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/2.437, allocations: 5.562 kB / 1.31 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/2.437, allocations: 1.75 kB / 1.31 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/2.437, allocations: 5 kB / 1.31 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/2.437, allocations: 1.734 kB / 1.31 GB, free: 242 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/2.437, allocations: 103.4 kB / 1.31 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/2.437, allocations: 6 kB / 1.31 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/2.438, allocations: 126.9 kB / 1.31 GB, free: 241.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.692e-05/2.438, allocations: 184.8 kB / 1.31 GB, free: 241.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-05/2.438, allocations: 185.9 kB / 1.311 GB, free: 241.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.608e-05/2.438, allocations: 182.5 kB / 1.311 GB, free: 241.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/2.438, allocations: 387.4 kB / 1.311 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/2.438, allocations: 101.5 kB / 1.311 GB, free: 240.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/2.438, allocations: 110.6 kB / 1.311 GB, free: 240.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.82e-05/2.438, allocations: 186.1 kB / 1.312 GB, free: 240.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/2.438, allocations: 178 kB / 1.312 GB, free: 240.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.431e-05/2.438, allocations: 182.1 kB / 1.312 GB, free: 240 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.608e-05/2.438, allocations: 178 kB / 1.312 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.618e-05/2.438, allocations: 313.8 kB / 1.312 GB, free: 239.5 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001787/2.438, allocations: 0.6683 MB / 1.313 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/2.439, allocations: 188.5 kB / 1.313 GB, free: 238.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/2.439, allocations: 178.3 kB / 1.313 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/2.439, allocations: 111.8 kB / 1.313 GB, free: 238.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/2.439, allocations: 182.2 kB / 1.314 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/2.439, allocations: 101.6 kB / 1.314 GB, free: 238 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.908e-05/2.439, allocations: 84.64 kB / 1.314 GB, free: 238 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001524/2.44, allocations: 22.06 kB / 1.314 GB, free: 238 MB / 0.8542 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 (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000414/2.441, allocations: 244.8 kB / 1.314 GB, free: 237.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000114/2.441, allocations: 11.44 kB / 1.314 GB, free: 237.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/2.441, allocations: 0 / 1.314 GB, free: 237.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/2.441, allocations: 0 / 1.314 GB, free: 237.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/2.441, allocations: 0.5287 MB / 1.315 GB, free: 237.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/2.442, allocations: 123.4 kB / 1.315 GB, free: 237.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/2.442, allocations: 0.6881 MB / 1.315 GB, free: 236.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.002e-06/2.442, allocations: 0 / 1.315 GB, free: 236.4 MB / 0.8542 GB