Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.473/1.473, allocations: 289.8 MB / 297.1 MB, free: 6.707 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.001193/0.001193, allocations: 177.2 kB / 366.3 MB, free: 1.992 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.427/1.427, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.0009796/0.0009796, allocations: 92.78 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3038/0.3048, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7333/1.038, allocations: 116.3 MB / 0.9727 GB, free: 68.59 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8957/1.934, allocations: 341.6 MB / 1.306 GB, free: 142.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.934, allocations: 84.84 kB / 1.306 GB, free: 142.7 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.01639/1.951, allocations: 7.727 MB / 1.314 GB, free: 138.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.951, allocations: 8 kB / 1.314 GB, free: 138.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/1.951, allocations: 7.906 kB / 1.314 GB, free: 138.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.541e-05/1.951, allocations: 159.1 kB / 1.314 GB, free: 138.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.57e-05/1.951, allocations: 33.69 kB / 1.314 GB, free: 138.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/1.951, allocations: 0 / 1.314 GB, free: 138.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.548e-05/1.951, allocations: 11.5 kB / 1.314 GB, free: 138.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.48e-05/1.951, allocations: 41.69 kB / 1.314 GB, free: 138.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/1.951, allocations: 0 / 1.314 GB, free: 138.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/1.951, allocations: 1.219 kB / 1.314 GB, free: 138.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/1.951, allocations: 3.5 kB / 1.314 GB, free: 138.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/1.952, allocations: 0.578 MB / 1.315 GB, free: 137.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.324e-05/1.952, allocations: 22.27 kB / 1.315 GB, free: 137.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/1.952, allocations: 4.859 kB / 1.315 GB, free: 137.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/1.952, allocations: 367.5 kB / 1.315 GB, free: 137.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/1.952, allocations: 34.56 kB / 1.315 GB, free: 137 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/1.952, allocations: 0 / 1.315 GB, free: 137 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0002497/1.952, allocations: 41.59 kB / 1.315 GB, free: 137 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/1.952, allocations: 57.03 kB / 1.315 GB, free: 136.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.684e-05/1.952, allocations: 96.48 kB / 1.315 GB, free: 136.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/1.952, allocations: 33.73 kB / 1.315 GB, free: 136.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/1.953, allocations: 84.05 kB / 1.315 GB, free: 136.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-06/1.953, allocations: 0.6562 kB / 1.315 GB, free: 136.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/1.953, allocations: 0 / 1.315 GB, free: 136.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.707e-05/1.953, allocations: 318.3 kB / 1.316 GB, free: 136.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/1.953, allocations: 4 kB / 1.316 GB, free: 136.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.811e-05/1.953, allocations: 17.89 kB / 1.316 GB, free: 136.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/1.953, allocations: 23.67 kB / 1.316 GB, free: 136.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.953, allocations: 0 / 1.316 GB, free: 136.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001826/1.953, allocations: 69.86 kB / 1.316 GB, free: 136.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.953, allocations: 4 kB / 1.316 GB, free: 136.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.953, allocations: 3.984 kB / 1.316 GB, free: 136.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/1.953, allocations: 96 / 1.316 GB, free: 136.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/1.953, allocations: 11.98 kB / 1.316 GB, free: 136.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.953, allocations: 0 / 1.316 GB, free: 136.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/1.953, allocations: 4.75 kB / 1.316 GB, free: 136.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/1.953, allocations: 4.062 kB / 1.316 GB, free: 136.2 MB / 0.823 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 4.885e-05/1.953, allocations: 108.9 kB / 1.316 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/1.953, allocations: 0 / 1.316 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/1.953, allocations: 120.9 kB / 1.316 GB, free: 136 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.104e-05/1.953, allocations: 180.2 kB / 1.316 GB, free: 135.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.662e-05/1.953, allocations: 183.5 kB / 1.316 GB, free: 135.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.382e-05/1.953, allocations: 188.2 kB / 1.317 GB, free: 135.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/1.954, allocations: 377.8 kB / 1.317 GB, free: 135 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/1.954, allocations: 105.6 kB / 1.317 GB, free: 134.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/1.954, allocations: 116.5 kB / 1.317 GB, free: 134.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.962e-05/1.954, allocations: 176.3 kB / 1.317 GB, free: 134.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/1.954, allocations: 180.3 kB / 1.318 GB, free: 134.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.991e-05/1.954, allocations: 184.2 kB / 1.318 GB, free: 134.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.364e-05/1.954, allocations: 176.3 kB / 1.318 GB, free: 134.1 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001246/1.954, allocations: 311.2 kB / 1.318 GB, free: 133.8 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001563/1.954, allocations: 0.6695 MB / 1.319 GB, free: 133.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/1.954, allocations: 189.6 kB / 1.319 GB, free: 132.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/1.954, allocations: 180.3 kB / 1.319 GB, free: 132.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/1.954, allocations: 113 kB / 1.319 GB, free: 132.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/1.954, allocations: 180.2 kB / 1.319 GB, free: 132.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/1.954, allocations: 101 kB / 1.32 GB, free: 132.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.159e-05/1.955, allocations: 86.88 kB / 1.32 GB, free: 132.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009214/1.955, allocations: 36.2 kB / 1.32 GB, free: 132.1 MB / 0.823 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.0002561/1.956, allocations: 233 kB / 1.32 GB, free: 131.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.956e-05/1.956, allocations: 15.44 kB / 1.32 GB, free: 131.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.956, allocations: 0 / 1.32 GB, free: 131.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/1.956, allocations: 4 kB / 1.32 GB, free: 131.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/1.956, allocations: 0.5234 MB / 1.32 GB, free: 131.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/1.956, allocations: 130.8 kB / 1.321 GB, free: 131.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/1.957, allocations: 0.688 MB / 1.321 GB, free: 130.5 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/1.957, allocations: 0 / 1.321 GB, free: 130.5 MB / 0.823 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)