Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.592/2.592, allocations: 284.8 MB / 292.1 MB, free: 1.43 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003161/0.003161, allocations: 189 kB / 360.3 MB, free: 15.62 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.1 MB / 0.6187 GB, free: 5.836 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 92.77 kB / 0.7317 GB, free: 52.95 MB / 0.5342 GB Notification: Performance of FrontEnd - loaded program: time 0.2959/0.2972, allocations: 121.4 MB / 0.8502 GB, free: 14.97 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.5696, allocations: 115.2 MB / 0.9628 GB, free: 11.59 MB / 0.7061 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9493/1.519, allocations: 342 MB / 1.297 GB, free: 9.375 MB / 0.8936 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/1.519, allocations: 74.89 kB / 1.297 GB, free: 9.305 MB / 0.8936 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.02951/1.549, allocations: 7.742 MB / 1.304 GB, free: 1.637 MB / 0.8936 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/1.549, allocations: 12 kB / 1.304 GB, free: 1.625 MB / 0.8936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/1.549, allocations: 7.844 kB / 1.304 GB, free: 1.617 MB / 0.8936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/1.549, allocations: 159.1 kB / 1.304 GB, free: 1.422 MB / 0.8936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.592e-05/1.549, allocations: 29.7 kB / 1.305 GB, free: 1.387 MB / 0.8936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.589e-06/1.549, allocations: 0 / 1.305 GB, free: 1.387 MB / 0.8936 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.123e-05/1.549, allocations: 15.98 kB / 1.305 GB, free: 1.371 MB / 0.8936 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.423e-05/1.549, allocations: 37.69 kB / 1.305 GB, free: 1.328 MB / 0.8936 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.549, allocations: 2.125 kB / 1.305 GB, free: 1.328 MB / 0.8936 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/1.549, allocations: 0 / 1.305 GB, free: 1.328 MB / 0.8936 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/1.549, allocations: 8 kB / 1.305 GB, free: 1.32 MB / 0.8936 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008384/1.55, allocations: 0.5799 MB / 1.305 GB, free: 0.6289 MB / 0.8936 GB Notification: Performance of preOpt comSubExp (simulation): time 3.922e-05/1.55, allocations: 14.58 kB / 1.305 GB, free: 0.6055 MB / 0.8936 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.288e-05/1.55, allocations: 6.406 kB / 1.305 GB, free: 0.5977 MB / 0.8936 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003901/1.551, allocations: 368.4 kB / 1.306 GB, free: 168 kB / 0.8936 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/1.551, allocations: 38.47 kB / 1.306 GB, free: 120 kB / 0.8936 GB Notification: Performance of pre-optimization done (n=1): time 1.954e-06/1.551, allocations: 0 / 1.306 GB, free: 120 kB / 0.8936 GB Notification: Performance of matching and sorting (n=1): time 0.000305/1.551, allocations: 37.69 kB / 1.306 GB, free: 76 kB / 0.8936 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/1.551, allocations: 53.09 kB / 1.306 GB, free: 12 kB / 0.8936 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/1.551, allocations: 100.9 kB / 1.306 GB, free: 15.91 MB / 0.9092 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/1.551, allocations: 25.7 kB / 1.306 GB, free: 15.88 MB / 0.9092 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/1.552, allocations: 88.03 kB / 1.306 GB, free: 15.79 MB / 0.9092 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-06/1.552, allocations: 32 / 1.306 GB, free: 15.79 MB / 0.9092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/1.552, allocations: 4 kB / 1.306 GB, free: 15.78 MB / 0.9092 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.552, allocations: 322.8 kB / 1.306 GB, free: 15.46 MB / 0.9092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/1.552, allocations: 0 / 1.306 GB, free: 15.46 MB / 0.9092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/1.552, allocations: 13.72 kB / 1.306 GB, free: 15.44 MB / 0.9092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/1.552, allocations: 23.97 kB / 1.306 GB, free: 15.41 MB / 0.9092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.552, allocations: 5.031 kB / 1.306 GB, free: 15.41 MB / 0.9092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002949/1.552, allocations: 65.55 kB / 1.306 GB, free: 15.34 MB / 0.9092 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.552, allocations: 4 kB / 1.306 GB, free: 15.34 MB / 0.9092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.552, allocations: 0 / 1.306 GB, free: 15.34 MB / 0.9092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.552, allocations: 4 kB / 1.306 GB, free: 15.33 MB / 0.9092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.849e-05/1.553, allocations: 4 kB / 1.306 GB, free: 15.33 MB / 0.9092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.553, allocations: 3.984 kB / 1.306 GB, free: 15.32 MB / 0.9092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/1.553, allocations: 7.844 kB / 1.306 GB, free: 15.32 MB / 0.9092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/1.553, allocations: 4 kB / 1.306 GB, free: 15.31 MB / 0.9092 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 9.972e-05/1.553, allocations: 101 kB / 1.306 GB, free: 15.21 MB / 0.9092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/1.553, allocations: 8.984 kB / 1.306 GB, free: 15.2 MB / 0.9092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/1.553, allocations: 117.8 kB / 1.307 GB, free: 15.07 MB / 0.9092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.069e-05/1.553, allocations: 188.2 kB / 1.307 GB, free: 14.88 MB / 0.9092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.637e-05/1.553, allocations: 176.3 kB / 1.307 GB, free: 14.7 MB / 0.9092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.54e-05/1.553, allocations: 176.3 kB / 1.307 GB, free: 14.52 MB / 0.9092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/1.554, allocations: 393.7 kB / 1.307 GB, free: 14.09 MB / 0.9092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-05/1.554, allocations: 104.5 kB / 1.307 GB, free: 13.99 MB / 0.9092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-05/1.554, allocations: 105 kB / 1.308 GB, free: 13.88 MB / 0.9092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.742e-05/1.554, allocations: 180.2 kB / 1.308 GB, free: 13.7 MB / 0.9092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/1.554, allocations: 184.2 kB / 1.308 GB, free: 13.51 MB / 0.9092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.388e-05/1.554, allocations: 180.3 kB / 1.308 GB, free: 13.32 MB / 0.9092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.07e-05/1.554, allocations: 182.6 kB / 1.308 GB, free: 13.14 MB / 0.9092 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002611/1.554, allocations: 305.4 kB / 1.309 GB, free: 12.82 MB / 0.9092 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003185/1.555, allocations: 0.6789 MB / 1.309 GB, free: 12.12 MB / 0.9092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/1.555, allocations: 190.1 kB / 1.309 GB, free: 11.91 MB / 0.9092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.383e-05/1.555, allocations: 180.2 kB / 1.31 GB, free: 11.72 MB / 0.9092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/1.555, allocations: 105 kB / 1.31 GB, free: 11.61 MB / 0.9092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/1.555, allocations: 184.2 kB / 1.31 GB, free: 11.43 MB / 0.9092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/1.555, allocations: 112.8 kB / 1.31 GB, free: 11.31 MB / 0.9092 GB Notification: Performance of sort global known variables: time 7.049e-05/1.555, allocations: 83.28 kB / 1.31 GB, free: 11.23 MB / 0.9092 GB Notification: Performance of remove unused functions: time 0.001233/1.557, allocations: 32 kB / 1.31 GB, free: 11.2 MB / 0.9092 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.0003521/1.557, allocations: 227.6 kB / 1.31 GB, free: 10.97 MB / 0.9092 GB Notification: Performance of simCode: created initialization part: time 8.808e-05/1.557, allocations: 11.98 kB / 1.31 GB, free: 10.96 MB / 0.9092 GB Notification: Performance of simCode: created event and clocks part: time 8.056e-06/1.557, allocations: 0 / 1.31 GB, free: 10.96 MB / 0.9092 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-06/1.557, allocations: 7.938 kB / 1.31 GB, free: 10.95 MB / 0.9092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/1.557, allocations: 0.5265 MB / 1.311 GB, free: 10.42 MB / 0.9092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/1.558, allocations: 122.1 kB / 1.311 GB, free: 10.28 MB / 0.9092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/1.558, allocations: 0.6936 MB / 1.312 GB, free: 9.559 MB / 0.9092 GB Notification: Performance of SimCode: time 1.403e-06/1.558, allocations: 0 / 1.312 GB, free: 9.559 MB / 0.9092 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)