Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.651/2.651, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001565/0.001565, allocations: 181.3 kB / 360.3 MB, free: 7.527 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.793/1.793, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001275/0.001274, allocations: 85.78 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2758/0.2771, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6291/0.9062, allocations: 115.2 MB / 0.9627 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.8/11.71, allocations: 4.61 GB / 5.573 GB, free: 68.74 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/11.71, allocations: 77.67 kB / 5.573 GB, free: 68.7 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.1178/11.82, allocations: 36.2 MB / 5.609 GB, free: 36.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/11.82, allocations: 12 kB / 5.609 GB, free: 36.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/11.82, allocations: 13.14 kB / 5.609 GB, free: 36.42 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.787e-05/11.82, allocations: 167.1 kB / 5.609 GB, free: 36.22 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/11.82, allocations: 0 / 5.609 GB, free: 36.22 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/11.82, allocations: 4 kB / 5.609 GB, free: 36.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.843e-05/11.82, allocations: 15.91 kB / 5.609 GB, free: 36.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.773e-05/11.82, allocations: 45.62 kB / 5.609 GB, free: 36.15 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/11.82, allocations: 4 kB / 5.609 GB, free: 36.14 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/11.82, allocations: 4 kB / 5.609 GB, free: 36.14 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/11.82, allocations: 2.531 kB / 5.609 GB, free: 36.14 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/11.82, allocations: 146.1 kB / 5.609 GB, free: 35.96 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.841e-05/11.82, allocations: 33.72 kB / 5.609 GB, free: 35.92 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/11.82, allocations: 20.77 kB / 5.609 GB, free: 35.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/11.82, allocations: 0 / 5.609 GB, free: 35.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/11.82, allocations: 39.44 kB / 5.609 GB, free: 35.85 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/11.82, allocations: 0 / 5.609 GB, free: 35.85 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.001044/11.83, allocations: 332.7 kB / 5.609 GB, free: 35.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/11.83, allocations: 51.41 kB / 5.609 GB, free: 35.41 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.217e-05/11.83, allocations: 93 kB / 5.61 GB, free: 35.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/11.83, allocations: 25.7 kB / 5.61 GB, free: 35.29 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/11.83, allocations: 84.27 kB / 5.61 GB, free: 35.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/11.83, allocations: 39.39 kB / 5.61 GB, free: 35.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/11.83, allocations: 0 / 5.61 GB, free: 35.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001199/11.83, allocations: 322.8 kB / 5.61 GB, free: 34.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/11.83, allocations: 12 kB / 5.61 GB, free: 34.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/11.83, allocations: 30.77 kB / 5.61 GB, free: 34.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/11.83, allocations: 27.91 kB / 5.61 GB, free: 34.76 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/11.83, allocations: 0 / 5.61 GB, free: 34.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003108/11.83, allocations: 87.55 kB / 5.61 GB, free: 34.67 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/11.83, allocations: 5.875 kB / 5.61 GB, free: 34.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/11.83, allocations: 0 / 5.61 GB, free: 34.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/11.83, allocations: 0 / 5.61 GB, free: 34.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/11.83, allocations: 27.92 kB / 5.61 GB, free: 34.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/11.83, allocations: 3.938 kB / 5.61 GB, free: 34.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.441e-05/11.83, allocations: 0 / 5.61 GB, free: 34.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/11.83, allocations: 4.5 kB / 5.61 GB, free: 34.63 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 0.0001131/11.83, allocations: 118.2 kB / 5.61 GB, free: 34.51 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/11.83, allocations: 0 / 5.61 GB, free: 34.51 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.194e-05/11.83, allocations: 11.91 kB / 5.61 GB, free: 34.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/11.83, allocations: 7.906 kB / 5.61 GB, free: 34.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/11.83, allocations: 3.984 kB / 5.61 GB, free: 34.49 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/11.83, allocations: 0 / 5.61 GB, free: 34.49 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/11.83, allocations: 147.3 kB / 5.61 GB, free: 34.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/11.83, allocations: 0 / 5.61 GB, free: 34.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/11.83, allocations: 27.92 kB / 5.61 GB, free: 34.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/11.83, allocations: 0 / 5.61 GB, free: 34.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/11.83, allocations: 0 / 5.61 GB, free: 34.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/11.83, allocations: 0 / 5.61 GB, free: 34.29 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/11.83, allocations: 4.625 kB / 5.61 GB, free: 34.28 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003657/11.83, allocations: 124.9 kB / 5.611 GB, free: 34.14 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006365/11.83, allocations: 0.5287 MB / 5.611 GB, free: 33.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/11.83, allocations: 81.11 kB / 5.611 GB, free: 33.49 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/11.83, allocations: 9.109 kB / 5.611 GB, free: 33.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/11.83, allocations: 5.438 kB / 5.611 GB, free: 33.48 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/11.83, allocations: 4.328 kB / 5.611 GB, free: 33.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/11.83, allocations: 7.984 kB / 5.611 GB, free: 33.47 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.971e-05/11.83, allocations: 79.28 kB / 5.611 GB, free: 33.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002839/11.83, allocations: 87.94 kB / 5.611 GB, free: 33.3 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.001463/11.83, allocations: 0.6666 MB / 5.612 GB, free: 32.65 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002378/11.83, allocations: 51.88 kB / 5.612 GB, free: 32.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/11.83, allocations: 0 / 5.612 GB, free: 32.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/11.84, allocations: 24 kB / 5.612 GB, free: 32.57 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/11.84, allocations: 7 kB / 5.612 GB, free: 32.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/11.84, allocations: 275.2 kB / 5.612 GB, free: 32.29 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/11.84, allocations: 0.7075 MB / 5.613 GB, free: 31.55 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/11.84, allocations: 0 / 5.613 GB, free: 31.55 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)