Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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.1-maint.8.0.x/package.mo): time 1.385/1.385, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009883/0.0009886, allocations: 183.2 kB / 361.1 MB, free: 7.129 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.178/1.178, allocations: 205.1 MB / 0.6195 GB, free: 11.93 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.0008217/0.0008217, allocations: 93.97 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2027/0.2036, allocations: 121.4 MB / 0.8511 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5033/0.7068, allocations: 115.3 MB / 0.9638 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.367/8.073, allocations: 4.611 GB / 5.574 GB, free: 138.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/8.074, allocations: 85.72 kB / 5.574 GB, free: 138.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.06393/8.138, allocations: 36.2 MB / 5.61 GB, free: 102.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/8.138, allocations: 8 kB / 5.61 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/8.138, allocations: 15.89 kB / 5.61 GB, free: 102 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.629e-05/8.138, allocations: 167 kB / 5.61 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/8.138, allocations: 0.75 kB / 5.61 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/8.138, allocations: 4 kB / 5.61 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.146e-05/8.138, allocations: 23.89 kB / 5.61 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.823e-05/8.138, allocations: 41.69 kB / 5.61 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.892e-06/8.138, allocations: 0 / 5.61 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/8.138, allocations: 4 kB / 5.61 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/8.138, allocations: 0 / 5.61 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/8.138, allocations: 138.2 kB / 5.61 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/8.138, allocations: 39.14 kB / 5.61 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/8.138, allocations: 20.75 kB / 5.61 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/8.138, allocations: 15.88 kB / 5.61 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/8.138, allocations: 30.56 kB / 5.61 GB, free: 101.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/8.138, allocations: 0 / 5.61 GB, free: 101.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0005197/8.139, allocations: 322.5 kB / 5.611 GB, free: 101.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.583e-05/8.139, allocations: 59.33 kB / 5.611 GB, free: 101 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.465e-05/8.139, allocations: 97 kB / 5.611 GB, free: 100.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/8.139, allocations: 25.7 kB / 5.611 GB, free: 100.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.226e-05/8.139, allocations: 80.8 kB / 5.611 GB, free: 100.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/8.139, allocations: 39.39 kB / 5.611 GB, free: 100.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/8.139, allocations: 0 / 5.611 GB, free: 100.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 3.414e-05/8.139, allocations: 314.8 kB / 5.611 GB, free: 100.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.488e-05/8.139, allocations: 16 kB / 5.611 GB, free: 100.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.22e-05/8.139, allocations: 33.77 kB / 5.611 GB, free: 100.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/8.139, allocations: 21.92 kB / 5.611 GB, free: 100.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/8.139, allocations: 3.75 kB / 5.611 GB, free: 100.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.721e-05/8.139, allocations: 89.52 kB / 5.611 GB, free: 100.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/8.139, allocations: 7.984 kB / 5.611 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/8.139, allocations: 1.25 kB / 5.611 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/8.139, allocations: 0 / 5.611 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/8.14, allocations: 23.94 kB / 5.611 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/8.14, allocations: 0 / 5.611 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/8.14, allocations: 0 / 5.611 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/8.14, allocations: 4 kB / 5.611 GB, free: 100.3 MB / 0.948 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 (14): * Single equations (assignments): 14 * 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.389e-05/8.14, allocations: 120.8 kB / 5.611 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/8.14, allocations: 4 kB / 5.611 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/8.14, allocations: 7.906 kB / 5.611 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/8.14, allocations: 7.906 kB / 5.611 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/8.14, allocations: 0.625 kB / 5.611 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/8.14, allocations: 0 / 5.611 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.457e-05/8.14, allocations: 146.2 kB / 5.612 GB, free: 99.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/8.14, allocations: 0 / 5.612 GB, free: 99.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/8.14, allocations: 24.86 kB / 5.612 GB, free: 99.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/8.14, allocations: 4 kB / 5.612 GB, free: 99.91 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/8.14, allocations: 0 / 5.612 GB, free: 99.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/8.14, allocations: 0 / 5.612 GB, free: 99.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/8.14, allocations: 0 / 5.612 GB, free: 99.91 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000127/8.14, allocations: 132.8 kB / 5.612 GB, free: 99.76 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002111/8.14, allocations: 0.5295 MB / 5.612 GB, free: 99.21 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/8.14, allocations: 85.09 kB / 5.612 GB, free: 99.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/8.14, allocations: 3.906 kB / 5.612 GB, free: 99.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/8.14, allocations: 0 / 5.612 GB, free: 99.11 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/8.14, allocations: 8.312 kB / 5.612 GB, free: 99.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/8.14, allocations: 8 kB / 5.612 GB, free: 99.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.478e-05/8.141, allocations: 79.22 kB / 5.612 GB, free: 99.01 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008438/8.141, allocations: 87.98 kB / 5.613 GB, free: 98.93 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005434/8.142, allocations: 0.6656 MB / 5.613 GB, free: 98.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.92e-05/8.142, allocations: 44 kB / 5.613 GB, free: 98.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/8.142, allocations: 4 kB / 5.613 GB, free: 98.22 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.606e-05/8.142, allocations: 27.92 kB / 5.613 GB, free: 98.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/8.142, allocations: 8.75 kB / 5.613 GB, free: 98.19 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/8.143, allocations: 262.1 kB / 5.614 GB, free: 97.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/8.143, allocations: 0.7082 MB / 5.614 GB, free: 97.18 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/8.143, allocations: 4 kB / 5.614 GB, free: 97.18 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)