Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.496/2.496, allocations: 248.6 MB / 255.9 MB, free: 7.18 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.002321/0.002321, allocations: 175.8 kB / 315.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.1 MB / 0.5658 GB, free: 400 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.001284/0.001283, allocations: 98.52 kB / 0.67 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4589/0.4602, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.6873, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9734/1.661, allocations: 336.7 MB / 1.212 GB, free: 2.77 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005304/1.661, allocations: 77.89 kB / 1.212 GB, free: 2.727 MB / 0.823 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.03547/1.697, allocations: 7.749 MB / 1.22 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.697, allocations: 11.94 kB / 1.22 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/1.697, allocations: 0 / 1.22 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/1.697, allocations: 167.1 kB / 1.22 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.684e-05/1.697, allocations: 29.69 kB / 1.22 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/1.697, allocations: 0 / 1.22 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001063/1.697, allocations: 19.09 kB / 1.22 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.355e-05/1.698, allocations: 37.69 kB / 1.22 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/1.698, allocations: 0 / 1.22 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/1.698, allocations: 0.9375 kB / 1.22 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/1.698, allocations: 8 kB / 1.22 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008646/1.699, allocations: 0.5776 MB / 1.221 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.28e-05/1.699, allocations: 14.58 kB / 1.221 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/1.699, allocations: 7.859 kB / 1.221 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004895/1.699, allocations: 363.1 kB / 1.221 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/1.699, allocations: 38.5 kB / 1.221 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.873e-06/1.699, allocations: 0 / 1.221 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000301/1.7, allocations: 41.69 kB / 1.221 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/1.7, allocations: 53.09 kB / 1.221 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.575e-05/1.7, allocations: 99.48 kB / 1.221 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/1.7, allocations: 25.7 kB / 1.221 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/1.7, allocations: 87.17 kB / 1.221 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/1.7, allocations: 11.94 kB / 1.221 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-06/1.7, allocations: 0 / 1.221 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.7, allocations: 310.8 kB / 1.222 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/1.7, allocations: 7.125 kB / 1.222 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.968e-05/1.7, allocations: 13.7 kB / 1.222 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/1.7, allocations: 23.92 kB / 1.222 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.7, allocations: 0 / 1.222 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002777/1.701, allocations: 61.23 kB / 1.222 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.701, allocations: 7.984 kB / 1.222 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/1.701, allocations: 7.906 kB / 1.222 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/1.701, allocations: 0 / 1.222 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.835e-05/1.701, allocations: 4 kB / 1.222 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.701, allocations: 0 / 1.222 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/1.701, allocations: 7.938 kB / 1.222 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/1.701, allocations: 0 / 1.222 GB, free: 10.23 MB / 0.8386 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 8.725e-05/1.701, allocations: 112.9 kB / 1.222 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/1.701, allocations: 11.16 kB / 1.222 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/1.701, allocations: 124.3 kB / 1.222 GB, free: 9.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.982e-05/1.701, allocations: 176.3 kB / 1.222 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.402e-05/1.701, allocations: 180.2 kB / 1.222 GB, free: 9.617 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.976e-05/1.701, allocations: 180.3 kB / 1.223 GB, free: 9.434 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/1.702, allocations: 385.6 kB / 1.223 GB, free: 9.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.634e-05/1.702, allocations: 108.8 kB / 1.223 GB, free: 8.902 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/1.702, allocations: 109 kB / 1.223 GB, free: 8.789 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.25e-05/1.702, allocations: 180.3 kB / 1.223 GB, free: 8.605 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.225e-05/1.702, allocations: 184.2 kB / 1.224 GB, free: 8.418 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.398e-05/1.702, allocations: 183.2 kB / 1.224 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-05/1.702, allocations: 176.3 kB / 1.224 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001603/1.702, allocations: 310.2 kB / 1.224 GB, free: 7.73 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003755/1.703, allocations: 0.6752 MB / 1.225 GB, free: 7.035 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/1.703, allocations: 186.3 kB / 1.225 GB, free: 6.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/1.703, allocations: 176.3 kB / 1.225 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/1.703, allocations: 112.9 kB / 1.225 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.431e-05/1.703, allocations: 188.2 kB / 1.225 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/1.703, allocations: 101 kB / 1.226 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.928e-05/1.703, allocations: 81.97 kB / 1.226 GB, free: 6.156 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001235/1.705, allocations: 38.55 kB / 1.226 GB, free: 6.125 MB / 0.8386 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.0003779/1.705, allocations: 234.7 kB / 1.226 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.427e-05/1.705, allocations: 4 kB / 1.226 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.705, allocations: 3.938 kB / 1.226 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.428e-06/1.705, allocations: 4 kB / 1.226 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/1.706, allocations: 0.5259 MB / 1.226 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/1.706, allocations: 134.6 kB / 1.227 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/1.706, allocations: 0.688 MB / 1.227 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of SimCode: time 7.72e-07/1.706, allocations: 0 / 1.227 GB, free: 4.477 MB / 0.8386 GB