Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.36/2.36, allocations: 248.6 MB / 255.9 MB, free: 7.148 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.001618/0.001617, allocations: 184.2 kB / 315.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.1 MB / 0.5658 GB, free: 412 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001343/0.001343, allocations: 83.34 kB / 0.67 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5634/0.5648, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.802, allocations: 106.3 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.06/12.86, allocations: 4.605 GB / 5.489 GB, free: 84.39 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/12.86, allocations: 79.33 kB / 5.489 GB, free: 84.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.1188/12.98, allocations: 36.2 MB / 5.524 GB, free: 50.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/12.98, allocations: 8 kB / 5.524 GB, free: 50.58 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/12.98, allocations: 11.98 kB / 5.524 GB, free: 50.57 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.303e-05/12.98, allocations: 167 kB / 5.524 GB, free: 50.36 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/12.98, allocations: 3.906 kB / 5.524 GB, free: 50.36 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/12.98, allocations: 8 kB / 5.524 GB, free: 50.35 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.658e-05/12.98, allocations: 11.98 kB / 5.524 GB, free: 50.34 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.355e-05/12.98, allocations: 49.67 kB / 5.524 GB, free: 50.29 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/12.98, allocations: 0 / 5.524 GB, free: 50.29 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/12.98, allocations: 0 / 5.524 GB, free: 50.29 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/12.98, allocations: 4 kB / 5.524 GB, free: 50.28 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/12.98, allocations: 146.1 kB / 5.525 GB, free: 50.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.433e-05/12.98, allocations: 37.7 kB / 5.525 GB, free: 50.06 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/12.98, allocations: 16.8 kB / 5.525 GB, free: 50.04 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/12.98, allocations: 0 / 5.525 GB, free: 50.04 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/12.98, allocations: 34.56 kB / 5.525 GB, free: 50 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/12.98, allocations: 0 / 5.525 GB, free: 50 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0007883/12.99, allocations: 338.3 kB / 5.525 GB, free: 49.61 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/12.99, allocations: 55.41 kB / 5.525 GB, free: 49.55 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.152e-05/12.99, allocations: 85 kB / 5.525 GB, free: 49.46 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/12.99, allocations: 25.7 kB / 5.525 GB, free: 49.43 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 1.753e-05/12.99, allocations: 80.14 kB / 5.525 GB, free: 49.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/12.99, allocations: 43.52 kB / 5.525 GB, free: 49.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/12.99, allocations: 8 kB / 5.525 GB, free: 49.29 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.871e-05/12.99, allocations: 314.8 kB / 5.526 GB, free: 48.98 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.144e-05/12.99, allocations: 12 kB / 5.526 GB, free: 48.96 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/12.99, allocations: 37.77 kB / 5.526 GB, free: 48.92 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.028e-05/12.99, allocations: 20.3 kB / 5.526 GB, free: 48.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/12.99, allocations: 0 / 5.526 GB, free: 48.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001612/12.99, allocations: 81.61 kB / 5.526 GB, free: 48.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/12.99, allocations: 4 kB / 5.526 GB, free: 48.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/12.99, allocations: 11.91 kB / 5.526 GB, free: 48.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/12.99, allocations: 0 / 5.526 GB, free: 48.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/12.99, allocations: 16 kB / 5.526 GB, free: 48.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/12.99, allocations: 4 kB / 5.526 GB, free: 48.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.563e-05/12.99, allocations: 7.984 kB / 5.526 GB, free: 48.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/12.99, allocations: 8 kB / 5.526 GB, free: 48.77 MB / 0.8698 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 8.767e-05/12.99, allocations: 108.9 kB / 5.526 GB, free: 48.65 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/12.99, allocations: 7.906 kB / 5.526 GB, free: 48.64 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/12.99, allocations: 11.91 kB / 5.526 GB, free: 48.63 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/12.99, allocations: 0 / 5.526 GB, free: 48.63 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/12.99, allocations: 0 / 5.526 GB, free: 48.63 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/12.99, allocations: 3.938 kB / 5.526 GB, free: 48.63 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/12.99, allocations: 146.2 kB / 5.526 GB, free: 48.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/12.99, allocations: 4 kB / 5.526 GB, free: 48.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/12.99, allocations: 19.94 kB / 5.526 GB, free: 48.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/12.99, allocations: 3.906 kB / 5.526 GB, free: 48.42 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/12.99, allocations: 0 / 5.526 GB, free: 48.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/12.99, allocations: 7.984 kB / 5.526 GB, free: 48.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/12.99, allocations: 0 / 5.526 GB, free: 48.41 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002176/12.99, allocations: 125 kB / 5.526 GB, free: 48.27 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003713/12.99, allocations: 0.5257 MB / 5.527 GB, free: 47.73 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.454e-05/12.99, allocations: 93 kB / 5.527 GB, free: 47.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/12.99, allocations: 0 / 5.527 GB, free: 47.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/12.99, allocations: 4 kB / 5.527 GB, free: 47.61 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/12.99, allocations: 7.984 kB / 5.527 GB, free: 47.61 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/12.99, allocations: 4 kB / 5.527 GB, free: 47.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.979e-05/12.99, allocations: 75.28 kB / 5.527 GB, free: 47.53 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00126/12.99, allocations: 87.98 kB / 5.527 GB, free: 47.44 MB / 0.8698 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.0008836/12.99, allocations: 0.686 MB / 5.528 GB, free: 46.75 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000149/12.99, allocations: 48.16 kB / 5.528 GB, free: 46.71 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/12.99, allocations: 0 / 5.528 GB, free: 46.71 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-05/12.99, allocations: 27.92 kB / 5.528 GB, free: 46.68 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/12.99, allocations: 4.469 kB / 5.528 GB, free: 46.68 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/12.99, allocations: 274 kB / 5.528 GB, free: 46.39 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/12.99, allocations: 0.7075 MB / 5.529 GB, free: 45.65 MB / 0.8698 GB Notification: Performance of SimCode: time 8.22e-07/12.99, allocations: 0 / 5.529 GB, free: 45.65 MB / 0.8698 GB