Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.239/1.239, allocations: 249.4 MB / 256.7 MB, free: 7.039 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.0009517/0.0009518, allocations: 177.2 kB / 316 MB, free: 3.551 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.178/1.178, allocations: 205.2 MB / 0.5667 GB, free: 15.7 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.0009442/0.0009443, allocations: 97.83 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3599/0.3609, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.5373, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.374/7.911, allocations: 4.605 GB / 5.49 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/7.911, allocations: 79.95 kB / 5.49 GB, free: 182.5 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.07613/7.987, allocations: 44.87 MB / 5.534 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/7.987, allocations: 8 kB / 5.534 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/7.988, allocations: 23.97 kB / 5.534 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.408e-05/7.988, allocations: 167 kB / 5.534 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/7.988, allocations: 29.61 kB / 5.534 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/7.988, allocations: 0 / 5.534 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.538e-05/7.988, allocations: 23.98 kB / 5.534 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.703e-05/7.988, allocations: 41.69 kB / 5.534 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/7.988, allocations: 0 / 5.534 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/7.988, allocations: 0 / 5.534 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/7.988, allocations: 8 kB / 5.534 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/7.988, allocations: 233.4 kB / 5.534 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.094e-05/7.988, allocations: 22.45 kB / 5.534 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/7.988, allocations: 4.859 kB / 5.534 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.932e-06/7.988, allocations: 4.062 kB / 5.534 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/7.988, allocations: 38.56 kB / 5.534 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/7.988, allocations: 0 / 5.534 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001164/7.989, allocations: 33.61 kB / 5.534 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.757e-05/7.989, allocations: 51.41 kB / 5.534 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.702e-05/7.989, allocations: 101 kB / 5.534 GB, free: 136 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/7.989, allocations: 25.7 kB / 5.534 GB, free: 136 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/7.989, allocations: 84.05 kB / 5.534 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-06/7.989, allocations: 15.81 kB / 5.534 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/7.989, allocations: 4 kB / 5.535 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.511e-05/7.989, allocations: 319.2 kB / 5.535 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/7.989, allocations: 4 kB / 5.535 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/7.989, allocations: 18.58 kB / 5.535 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.762e-05/7.989, allocations: 8 kB / 5.535 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/7.989, allocations: 4 kB / 5.535 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.102e-05/7.989, allocations: 45.62 kB / 5.535 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/7.989, allocations: 8 kB / 5.535 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/7.989, allocations: 0 / 5.535 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/7.989, allocations: 96 / 5.535 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/7.989, allocations: 8 kB / 5.535 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/7.989, allocations: 7.891 kB / 5.535 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/7.989, allocations: 3.984 kB / 5.535 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-06/7.989, allocations: 4 kB / 5.535 GB, free: 135.4 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.452e-05/7.989, allocations: 105.1 kB / 5.535 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/7.989, allocations: 7.906 kB / 5.535 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/7.989, allocations: 11.11 kB / 5.535 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/7.989, allocations: 3.938 kB / 5.535 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/7.989, allocations: 0 / 5.535 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/7.989, allocations: 0 / 5.535 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/7.989, allocations: 327.2 kB / 5.535 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/7.989, allocations: 4.031 kB / 5.535 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-05/7.989, allocations: 3.984 kB / 5.535 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/7.989, allocations: 4 kB / 5.535 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/7.989, allocations: 4.188 kB / 5.535 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/7.989, allocations: 4 kB / 5.535 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/7.989, allocations: 0 / 5.535 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.159e-05/7.989, allocations: 56.98 kB / 5.535 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001292/7.99, allocations: 461.5 kB / 5.536 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/7.99, allocations: 81.11 kB / 5.536 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/7.99, allocations: 4 kB / 5.536 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/7.99, allocations: 7.984 kB / 5.536 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-06/7.99, allocations: 0 / 5.536 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/7.99, allocations: 0 / 5.536 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.438e-05/7.99, allocations: 83.31 kB / 5.536 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008213/7.991, allocations: 79.98 kB / 5.536 GB, free: 134.1 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.0005677/7.991, allocations: 0.6749 MB / 5.537 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.014e-05/7.991, allocations: 23.94 kB / 5.537 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/7.991, allocations: 0 / 5.537 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.787e-06/7.991, allocations: 0 / 5.537 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/7.991, allocations: 4 kB / 5.537 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001504/7.992, allocations: 48.06 kB / 5.537 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/7.992, allocations: 0.6841 MB / 5.538 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/7.992, allocations: 4 kB / 5.538 GB, free: 132.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)