Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.071/2.071, allocations: 253.1 MB / 260.4 MB, free: 7.578 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 185.3 kB / 319.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.4 MB / 0.5704 GB, free: 15.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001268, allocations: 87.44 kB / 0.6746 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.058e-05/1.073e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1946, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.74/10.94, allocations: 4.605 GB / 5.493 GB, free: 94.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/10.94, allocations: 80.2 kB / 5.493 GB, free: 94.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1166/11.05, allocations: 35.86 MB / 5.528 GB, free: 61.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.794e-06/11.05, allocations: 3.938 kB / 5.528 GB, free: 61.73 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.0003503/11.05, allocations: 342.3 kB / 5.529 GB, free: 61.35 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/11.05, allocations: 12.02 kB / 5.529 GB, free: 61.34 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002853/11.05, allocations: 8 kB / 5.529 GB, free: 61.33 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/11.05, allocations: 167.1 kB / 5.529 GB, free: 61.13 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/11.05, allocations: 3.906 kB / 5.529 GB, free: 61.12 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/11.05, allocations: 4 kB / 5.529 GB, free: 61.12 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.684e-05/11.05, allocations: 12 kB / 5.529 GB, free: 61.11 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.82e-05/11.05, allocations: 49.62 kB / 5.529 GB, free: 61.05 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/11.05, allocations: 0 / 5.529 GB, free: 61.05 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/11.05, allocations: 3.984 kB / 5.529 GB, free: 61.05 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/11.05, allocations: 0 / 5.529 GB, free: 61.05 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/11.05, allocations: 150.1 kB / 5.529 GB, free: 60.87 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.941e-05/11.05, allocations: 33.72 kB / 5.529 GB, free: 60.83 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/11.05, allocations: 16.86 kB / 5.529 GB, free: 60.81 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/11.05, allocations: 0 / 5.529 GB, free: 60.81 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/11.05, allocations: 34.56 kB / 5.529 GB, free: 60.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/11.05, allocations: 0 / 5.529 GB, free: 60.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0008076/11.06, allocations: 338 kB / 5.53 GB, free: 60.38 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/11.06, allocations: 55.41 kB / 5.53 GB, free: 60.32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.829e-05/11.06, allocations: 85 kB / 5.53 GB, free: 60.23 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/11.06, allocations: 25.7 kB / 5.53 GB, free: 60.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.09e-05/11.06, allocations: 80.14 kB / 5.53 GB, free: 60.11 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/11.06, allocations: 39.39 kB / 5.53 GB, free: 60.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/11.06, allocations: 3.938 kB / 5.53 GB, free: 60.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.241e-05/11.06, allocations: 326.9 kB / 5.53 GB, free: 59.74 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.362e-05/11.06, allocations: 16 kB / 5.53 GB, free: 59.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.982e-05/11.06, allocations: 33.72 kB / 5.53 GB, free: 59.69 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.696e-05/11.06, allocations: 28.5 kB / 5.53 GB, free: 59.66 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/11.06, allocations: 0 / 5.53 GB, free: 59.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000158/11.06, allocations: 77.69 kB / 5.53 GB, free: 59.58 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/11.06, allocations: 4 kB / 5.53 GB, free: 59.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/11.06, allocations: 7.906 kB / 5.53 GB, free: 59.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/11.06, allocations: 0 / 5.53 GB, free: 59.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/11.06, allocations: 27.92 kB / 5.53 GB, free: 59.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/11.06, allocations: 4 kB / 5.53 GB, free: 59.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.57e-05/11.06, allocations: 0 / 5.53 GB, free: 59.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/11.06, allocations: 4 kB / 5.53 GB, free: 59.53 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 6.171e-05/11.06, allocations: 108.9 kB / 5.53 GB, free: 59.42 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/11.06, allocations: 7.906 kB / 5.53 GB, free: 59.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/11.06, allocations: 11.91 kB / 5.53 GB, free: 59.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/11.06, allocations: 3.984 kB / 5.53 GB, free: 59.39 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/11.06, allocations: 0 / 5.53 GB, free: 59.39 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/11.06, allocations: 4 kB / 5.53 GB, free: 59.39 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/11.06, allocations: 142.2 kB / 5.531 GB, free: 59.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/11.06, allocations: 0 / 5.531 GB, free: 59.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/11.06, allocations: 27.92 kB / 5.531 GB, free: 59.19 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/11.06, allocations: 3.906 kB / 5.531 GB, free: 59.18 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/11.06, allocations: 0 / 5.531 GB, free: 59.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/11.06, allocations: 8 kB / 5.531 GB, free: 59.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/11.06, allocations: 0 / 5.531 GB, free: 59.18 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002203/11.06, allocations: 128.9 kB / 5.531 GB, free: 59.03 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.184e-05/11.06, allocations: 93 kB / 5.531 GB, free: 58.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/11.06, allocations: 0 / 5.531 GB, free: 58.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/11.06, allocations: 0 / 5.531 GB, free: 58.92 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/11.06, allocations: 7.984 kB / 5.531 GB, free: 58.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/11.06, allocations: 4 kB / 5.531 GB, free: 58.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.166e-05/11.06, allocations: 79.28 kB / 5.531 GB, free: 58.83 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003632/11.06, allocations: 47.98 kB / 5.531 GB, free: 58.79 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.0008891/11.06, allocations: 0.6639 MB / 5.532 GB, free: 58.12 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000157/11.06, allocations: 40 kB / 5.532 GB, free: 58.08 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/11.06, allocations: 0 / 5.532 GB, free: 58.08 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.28e-05/11.06, allocations: 31.94 kB / 5.532 GB, free: 58.05 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/11.06, allocations: 4 kB / 5.532 GB, free: 58.04 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/11.06, allocations: 285.8 kB / 5.532 GB, free: 57.74 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/11.06, allocations: 0.6959 MB / 5.533 GB, free: 57.02 MB / 0.8698 GB Notification: Performance of SimCode: time 9.12e-07/11.06, allocations: 3.938 kB / 5.533 GB, free: 57.02 MB / 0.8698 GB Notification: Performance of Templates: time 0.01113/11.07, allocations: 4.025 MB / 5.537 GB, free: 52.99 MB / 0.8698 GB