Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.381/1.381, allocations: 285.5 MB / 292.8 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 173.3 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.176/1.176, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008524/0.0008525, allocations: 91.91 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2064/0.2073, allocations: 121.4 MB / 0.8512 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.7014, allocations: 115.3 MB / 0.9638 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6438/1.345, allocations: 342.1 MB / 1.298 GB, free: 196.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/1.345, allocations: 79.47 kB / 1.298 GB, free: 196.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.01425/1.36, allocations: 7.755 MB / 1.305 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/1.36, allocations: 11.84 kB / 1.306 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/1.36, allocations: 5.5 kB / 1.306 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.595e-05/1.36, allocations: 161.1 kB / 1.306 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/1.36, allocations: 31.3 kB / 1.306 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/1.36, allocations: 4 kB / 1.306 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.892e-05/1.36, allocations: 12.5 kB / 1.306 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.416e-05/1.36, allocations: 40.02 kB / 1.306 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/1.36, allocations: 2.156 kB / 1.306 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/1.36, allocations: 0 / 1.306 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/1.36, allocations: 3.875 kB / 1.306 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/1.361, allocations: 0.5714 MB / 1.306 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.113e-05/1.361, allocations: 26.84 kB / 1.306 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.143e-05/1.361, allocations: 4.859 kB / 1.306 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/1.361, allocations: 362.1 kB / 1.307 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.094e-05/1.361, allocations: 34.47 kB / 1.307 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/1.361, allocations: 0 / 1.307 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001767/1.361, allocations: 44.27 kB / 1.307 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.536e-05/1.361, allocations: 57.12 kB / 1.307 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.309e-05/1.361, allocations: 94.39 kB / 1.307 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/1.361, allocations: 27.39 kB / 1.307 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.167e-05/1.361, allocations: 87.8 kB / 1.307 GB, free: 194 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-06/1.361, allocations: 1.031 kB / 1.307 GB, free: 194 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/1.361, allocations: 0 / 1.307 GB, free: 194 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 3.458e-05/1.361, allocations: 319.7 kB / 1.307 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/1.361, allocations: 3.781 kB / 1.307 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.381e-05/1.361, allocations: 19.3 kB / 1.307 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/1.361, allocations: 20.83 kB / 1.307 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.361, allocations: 0 / 1.307 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001647/1.362, allocations: 69.34 kB / 1.307 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/1.362, allocations: 3.875 kB / 1.307 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/1.362, allocations: 0 / 1.307 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/1.362, allocations: 3.875 kB / 1.307 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.744e-05/1.362, allocations: 11.45 kB / 1.307 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/1.362, allocations: 0 / 1.307 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/1.362, allocations: 7.844 kB / 1.307 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/1.362, allocations: 3.781 kB / 1.307 GB, free: 193.6 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 3.496e-05/1.362, allocations: 101 kB / 1.308 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/1.362, allocations: 3.812 kB / 1.308 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.844e-05/1.362, allocations: 127.1 kB / 1.308 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/1.362, allocations: 185.5 kB / 1.308 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/1.362, allocations: 177.5 kB / 1.308 GB, free: 193 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/1.362, allocations: 180.2 kB / 1.308 GB, free: 192.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.926e-05/1.362, allocations: 381.6 kB / 1.309 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.362, allocations: 111.9 kB / 1.309 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-05/1.362, allocations: 112.9 kB / 1.309 GB, free: 192.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.851e-05/1.362, allocations: 180 kB / 1.309 GB, free: 192 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/1.362, allocations: 176.3 kB / 1.309 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.769e-05/1.362, allocations: 180.2 kB / 1.309 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.971e-05/1.362, allocations: 177.7 kB / 1.309 GB, free: 191.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.219e-05/1.362, allocations: 313.9 kB / 1.31 GB, free: 191.2 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 9.106e-05/1.362, allocations: 0.6713 MB / 1.31 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/1.362, allocations: 190.1 kB / 1.311 GB, free: 190.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/1.362, allocations: 185.6 kB / 1.311 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/1.362, allocations: 106.4 kB / 1.311 GB, free: 190 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/1.362, allocations: 180.2 kB / 1.311 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/1.363, allocations: 106.3 kB / 1.311 GB, free: 189.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.593e-05/1.363, allocations: 85.91 kB / 1.311 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007799/1.363, allocations: 36.38 kB / 1.311 GB, free: 189.6 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.0001773/1.364, allocations: 233 kB / 1.311 GB, free: 189.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.79e-05/1.364, allocations: 16.69 kB / 1.312 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.364, allocations: 3.875 kB / 1.312 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/1.364, allocations: 4 kB / 1.312 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/1.364, allocations: 0.5159 MB / 1.312 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001471/1.364, allocations: 133.8 kB / 1.312 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/1.364, allocations: 0.6909 MB / 1.313 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of SimCode: time 2.8e-07/1.364, allocations: 0 / 1.313 GB, free: 188.1 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)