Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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.268/1.268, allocations: 249.4 MB / 256.7 MB, free: 6.961 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.001022/0.001022, allocations: 184.9 kB / 316 MB, free: 3.578 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.278/1.278, allocations: 205.2 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.0008822/0.0008822, allocations: 89.2 kB / 0.671 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3609/0.3619, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.5386, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.524/4.063, allocations: 2.172 GB / 3.056 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/4.063, allocations: 67.97 kB / 3.056 GB, free: 234.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.06232/4.125, allocations: 36.37 MB / 3.092 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/4.126, allocations: 8 kB / 3.092 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/4.126, allocations: 27.91 kB / 3.092 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.569e-05/4.126, allocations: 163 kB / 3.092 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/4.126, allocations: 29.69 kB / 3.092 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/4.126, allocations: 4 kB / 3.092 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.283e-05/4.126, allocations: 20 kB / 3.092 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.033e-05/4.126, allocations: 49.67 kB / 3.092 GB, free: 197 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/4.126, allocations: 3.938 kB / 3.092 GB, free: 197 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/4.126, allocations: 0 / 3.092 GB, free: 197 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/4.126, allocations: 0 / 3.092 GB, free: 197 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/4.126, allocations: 334.5 kB / 3.093 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.55e-05/4.127, allocations: 18.58 kB / 3.093 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/4.127, allocations: 8.859 kB / 3.093 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-06/4.127, allocations: 0 / 3.093 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/4.127, allocations: 30.62 kB / 3.093 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/4.127, allocations: 4 kB / 3.093 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001863/4.127, allocations: 49.53 kB / 3.093 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.422e-05/4.127, allocations: 51.41 kB / 3.093 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.128e-05/4.127, allocations: 93 kB / 3.093 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/4.127, allocations: 29.7 kB / 3.093 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.334e-05/4.127, allocations: 95.91 kB / 3.093 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-06/4.127, allocations: 7.906 kB / 3.093 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/4.127, allocations: 0 / 3.093 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 3.745e-05/4.127, allocations: 314.8 kB / 3.093 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/4.127, allocations: 32 / 3.093 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/4.127, allocations: 26.58 kB / 3.093 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.782e-05/4.127, allocations: 11.98 kB / 3.093 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/4.127, allocations: 0 / 3.093 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.355e-05/4.127, allocations: 45.62 kB / 3.093 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/4.127, allocations: 6.812 kB / 3.093 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/4.127, allocations: 8.094 kB / 3.093 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/4.127, allocations: 3.906 kB / 3.093 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.547e-05/4.127, allocations: 4.25 kB / 3.093 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/4.127, allocations: 4 kB / 3.093 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.744e-05/4.127, allocations: 4 kB / 3.093 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/4.127, allocations: 11.94 kB / 3.093 GB, free: 195.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.221e-05/4.127, allocations: 104.9 kB / 3.093 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/4.127, allocations: 4 kB / 3.093 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/4.127, allocations: 11.09 kB / 3.093 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/4.127, allocations: 11.98 kB / 3.093 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/4.127, allocations: 0 / 3.093 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/4.127, allocations: 0 / 3.093 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/4.128, allocations: 323.3 kB / 3.094 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/4.128, allocations: 0 / 3.094 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/4.128, allocations: 0 / 3.094 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/4.128, allocations: 0 / 3.094 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/4.128, allocations: 0 / 3.094 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/4.128, allocations: 0 / 3.094 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/4.128, allocations: 8.031 kB / 3.094 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.429e-05/4.128, allocations: 60.97 kB / 3.094 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001189/4.128, allocations: 453.5 kB / 3.094 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/4.128, allocations: 77.17 kB / 3.094 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/4.128, allocations: 7.984 kB / 3.094 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/4.128, allocations: 4 kB / 3.094 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-06/4.128, allocations: 0 / 3.094 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/4.128, allocations: 4 kB / 3.094 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.231e-05/4.128, allocations: 83.28 kB / 3.094 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008917/4.129, allocations: 79.89 kB / 3.095 GB, free: 194.4 MB / 0.8698 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 (1): * Single equations (assignments): 1 * 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.0004967/4.129, allocations: 0.6553 MB / 3.095 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.211e-05/4.129, allocations: 12.06 kB / 3.095 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/4.129, allocations: 4.062 kB / 3.095 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/4.129, allocations: 4 kB / 3.095 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/4.13, allocations: 0 / 3.095 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000132/4.13, allocations: 52.06 kB / 3.095 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/4.13, allocations: 0.6918 MB / 3.096 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of SimCode: time 3.5e-07/4.13, allocations: 0 / 3.096 GB, free: 192.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)