Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 184.7 kB / 7.802 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5023/0.5023, allocations: 90.85 MB / 99.08 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.4 MB / 342.8 MB, free: 5.137 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 93.33 kB / 415.5 MB, free: 9.844 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1603/0.1614, allocations: 78.45 MB / 494 MB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.5049, allocations: 72.3 MB / 0.553 GB, free: 44.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5213/1.026, allocations: 304.3 MB / 0.8501 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/1.026, allocations: 78.08 kB / 0.8502 GB, free: 4.281 MB / 0.5261 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.02185/1.048, allocations: 9.154 MB / 0.8592 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.048, allocations: 8 kB / 0.8592 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/1.048, allocations: 3.906 kB / 0.8592 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/1.049, allocations: 167.1 kB / 0.8593 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/1.049, allocations: 25.7 kB / 0.8594 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/1.049, allocations: 4 kB / 0.8594 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.294e-05/1.049, allocations: 11.69 kB / 0.8594 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/1.049, allocations: 41.59 kB / 0.8594 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/1.049, allocations: 0 / 0.8594 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/1.049, allocations: 0 / 0.8594 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/1.049, allocations: 7.984 kB / 0.8594 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/1.05, allocations: 0.5816 MB / 0.86 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.962e-05/1.05, allocations: 18.58 kB / 0.86 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/1.05, allocations: 8.109 kB / 0.86 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/1.05, allocations: 356.4 kB / 0.8603 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/1.05, allocations: 38.31 kB / 0.8604 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/1.05, allocations: 0 / 0.8604 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0002425/1.05, allocations: 43.55 kB / 0.8604 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/1.05, allocations: 59.38 kB / 0.8605 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/1.05, allocations: 96.88 kB / 0.8606 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/1.05, allocations: 25.7 kB / 0.8606 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/1.05, allocations: 87.98 kB / 0.8607 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/1.05, allocations: 7.891 kB / 0.8607 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/1.05, allocations: 0 / 0.8607 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.051, allocations: 314.8 kB / 0.861 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/1.051, allocations: 3.375 kB / 0.861 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-05/1.051, allocations: 17.72 kB / 0.861 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/1.051, allocations: 26.97 kB / 0.861 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.051, allocations: 0 / 0.861 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002122/1.051, allocations: 61.61 kB / 0.8611 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/1.051, allocations: 4 kB / 0.8611 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.051, allocations: 0 / 0.8611 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/1.051, allocations: 4 kB / 0.8611 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/1.051, allocations: 11.59 kB / 0.8611 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.051, allocations: 4.062 kB / 0.8611 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/1.051, allocations: 0 / 0.8611 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/1.051, allocations: 4 kB / 0.8611 GB, free: 10.62 MB / 0.5417 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.923e-05/1.051, allocations: 106.5 kB / 0.8612 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/1.051, allocations: 3.906 kB / 0.8612 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/1.051, allocations: 120.6 kB / 0.8613 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.198e-05/1.052, allocations: 180.3 kB / 0.8615 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001042/1.052, allocations: 184.2 kB / 0.8617 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.465e-05/1.052, allocations: 187.5 kB / 0.8619 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/1.052, allocations: 381.8 kB / 0.8622 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-05/1.052, allocations: 101 kB / 0.8623 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/1.052, allocations: 108.9 kB / 0.8624 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-05/1.052, allocations: 183.7 kB / 0.8626 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.002e-05/1.052, allocations: 176.3 kB / 0.8628 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.912e-05/1.052, allocations: 188.3 kB / 0.863 GB, free: 8.637 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-05/1.052, allocations: 180.3 kB / 0.8631 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001527/1.053, allocations: 307.3 kB / 0.8634 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002751/1.053, allocations: 0.6691 MB / 0.8641 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-05/1.053, allocations: 186 kB / 0.8643 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/1.053, allocations: 193.5 kB / 0.8644 GB, free: 7.043 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/1.053, allocations: 105 kB / 0.8645 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/1.053, allocations: 180.2 kB / 0.8647 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/1.053, allocations: 101 kB / 0.8648 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.562e-05/1.053, allocations: 90.77 kB / 0.8649 GB, free: 6.559 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000963/1.054, allocations: 35.06 kB / 0.8649 GB, free: 6.527 MB / 0.5417 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.0002614/1.055, allocations: 228.3 kB / 0.8651 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.637e-05/1.055, allocations: 19.75 kB / 0.8652 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.055, allocations: 4.125 kB / 0.8652 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/1.055, allocations: 0 / 0.8652 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/1.055, allocations: 0.5238 MB / 0.8657 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001799/1.055, allocations: 123.2 kB / 0.8658 GB, free: 5.609 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/1.056, allocations: 0.6919 MB / 0.8665 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of SimCode: time 2.71e-07/1.056, allocations: 0 / 0.8665 GB, free: 4.891 MB / 0.5417 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)