Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.23/1.23, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.0009346/0.0009346, allocations: 181.2 kB / 316 MB, free: 3.562 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.151/1.151, allocations: 205.1 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008272/0.0008273, allocations: 91.38 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3471/0.348, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.5291, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6391/1.168, allocations: 336.9 MB / 1.214 GB, free: 1.176 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.169, allocations: 84.61 kB / 1.214 GB, free: 1.125 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.01583/1.184, allocations: 7.744 MB / 1.221 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/1.184, allocations: 12 kB / 1.221 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/1.184, allocations: 3.984 kB / 1.221 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.65e-05/1.185, allocations: 163 kB / 1.221 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/1.185, allocations: 29.7 kB / 1.221 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/1.185, allocations: 3.906 kB / 1.221 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.302e-05/1.185, allocations: 15.61 kB / 1.221 GB, free: 10.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.221e-05/1.185, allocations: 45.62 kB / 1.222 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.185, allocations: 0 / 1.222 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/1.185, allocations: 0 / 1.222 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/1.185, allocations: 0 / 1.222 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005975/1.185, allocations: 0.5792 MB / 1.222 GB, free: 9.926 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.598e-05/1.186, allocations: 18.58 kB / 1.222 GB, free: 9.898 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/1.186, allocations: 4.859 kB / 1.222 GB, free: 9.891 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/1.186, allocations: 364.8 kB / 1.222 GB, free: 9.469 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.186, allocations: 38.5 kB / 1.222 GB, free: 9.422 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.186, allocations: 0 / 1.222 GB, free: 9.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002116/1.186, allocations: 37.69 kB / 1.223 GB, free: 9.379 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/1.186, allocations: 53.09 kB / 1.223 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/1.186, allocations: 99.78 kB / 1.223 GB, free: 9.215 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/1.186, allocations: 29.73 kB / 1.223 GB, free: 9.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/1.186, allocations: 83.39 kB / 1.223 GB, free: 9.098 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-06/1.186, allocations: 3.906 kB / 1.223 GB, free: 9.094 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/1.186, allocations: 0 / 1.223 GB, free: 9.094 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.186, allocations: 314.8 kB / 1.223 GB, free: 8.777 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/1.186, allocations: 4 kB / 1.223 GB, free: 8.773 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/1.186, allocations: 17.41 kB / 1.223 GB, free: 8.754 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/1.187, allocations: 23.97 kB / 1.223 GB, free: 8.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.187, allocations: 0 / 1.223 GB, free: 8.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001809/1.187, allocations: 69.36 kB / 1.223 GB, free: 8.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/1.187, allocations: 4 kB / 1.223 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.187, allocations: 0 / 1.223 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/1.187, allocations: 4.922 kB / 1.223 GB, free: 8.652 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.458e-05/1.187, allocations: 12 kB / 1.223 GB, free: 8.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/1.187, allocations: 0 / 1.223 GB, free: 8.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/1.187, allocations: 3.938 kB / 1.223 GB, free: 8.637 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/1.187, allocations: 4.062 kB / 1.223 GB, free: 8.633 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 7.96e-05/1.187, allocations: 109 kB / 1.223 GB, free: 8.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/1.187, allocations: 7.844 kB / 1.223 GB, free: 8.512 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/1.187, allocations: 128.1 kB / 1.223 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.437e-05/1.187, allocations: 176.3 kB / 1.224 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-05/1.187, allocations: 192.2 kB / 1.224 GB, free: 8.012 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-05/1.187, allocations: 180.2 kB / 1.224 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/1.188, allocations: 384.9 kB / 1.224 GB, free: 7.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.262e-05/1.188, allocations: 108.9 kB / 1.224 GB, free: 7.297 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/1.188, allocations: 105 kB / 1.225 GB, free: 7.188 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.665e-05/1.188, allocations: 176.3 kB / 1.225 GB, free: 7.008 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.065e-05/1.188, allocations: 184.2 kB / 1.225 GB, free: 6.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.938e-05/1.188, allocations: 180.3 kB / 1.225 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.576e-05/1.188, allocations: 180.2 kB / 1.225 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001017/1.188, allocations: 307.4 kB / 1.226 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000197/1.188, allocations: 0.6758 MB / 1.226 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/1.188, allocations: 186 kB / 1.226 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.11e-05/1.188, allocations: 180.2 kB / 1.227 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/1.189, allocations: 112.9 kB / 1.227 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/1.189, allocations: 176.3 kB / 1.227 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/1.189, allocations: 101 kB / 1.227 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.444e-05/1.189, allocations: 86.58 kB / 1.227 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007984/1.189, allocations: 31.5 kB / 1.227 GB, free: 4.535 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.0002359/1.19, allocations: 242.1 kB / 1.227 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.824e-05/1.19, allocations: 8 kB / 1.227 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.19, allocations: 0 / 1.227 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/1.19, allocations: 4 kB / 1.227 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/1.19, allocations: 0.533 MB / 1.228 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000165/1.19, allocations: 119.3 kB / 1.228 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/1.19, allocations: 0.6902 MB / 1.229 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.19, allocations: 0 / 1.229 GB, free: 2.887 MB / 0.8386 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)