Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck") [: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 1.6.0+build.1/package.mo): time 0.5109/0.5109, allocations: 94.73 MB / 102 MB, free: 10.35 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001531/0.001531, allocations: 180.5 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.52/1.52, allocations: 170.5 MB / 319 MB, free: 9.348 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001747/0.001747, allocations: 115.2 kB / 381 MB, free: 18.11 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.084e-05/1.114e-05, allocations: 224 / 448.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1905, allocations: 61.53 MB / 0.4981 GB, free: 4.484 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.78/10.97, allocations: 4.463 GB / 4.961 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/10.97, allocations: 77.14 kB / 4.961 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.06962/11.04, allocations: 34.92 MB / 4.995 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.133e-06/11.04, allocations: 0 / 4.995 GB, free: 148.7 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002806/11.04, allocations: 350.3 kB / 4.995 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/11.04, allocations: 9.031 kB / 4.995 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/11.04, allocations: 5.562 kB / 4.995 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.808e-05/11.04, allocations: 167 kB / 4.995 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/11.04, allocations: 2.656 kB / 4.995 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/11.04, allocations: 4 kB / 4.995 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.598e-05/11.04, allocations: 8 kB / 4.995 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.936e-05/11.04, allocations: 68.2 kB / 4.995 GB, free: 148 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/11.04, allocations: 4 kB / 4.995 GB, free: 148 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/11.04, allocations: 0 / 4.995 GB, free: 148 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/11.04, allocations: 3.906 kB / 4.995 GB, free: 148 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/11.04, allocations: 144 kB / 4.996 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.815e-05/11.04, allocations: 71.88 kB / 4.996 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/11.04, allocations: 22.7 kB / 4.996 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002186/11.04, allocations: 247.3 kB / 4.996 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/11.04, allocations: 38.56 kB / 4.996 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/11.04, allocations: 0 / 4.996 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.001099/11.04, allocations: 0.6637 MB / 4.997 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/11.04, allocations: 115.1 kB / 4.997 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.624e-05/11.04, allocations: 92.94 kB / 4.997 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/11.04, allocations: 25.7 kB / 4.997 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.982e-05/11.04, allocations: 80.33 kB / 4.997 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/11.04, allocations: 35.45 kB / 4.997 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/11.04, allocations: 0 / 4.997 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.153e-05/11.04, allocations: 314.8 kB / 4.997 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.333e-05/11.04, allocations: 17.11 kB / 4.997 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/11.04, allocations: 49.28 kB / 4.997 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/11.04, allocations: 27.97 kB / 4.997 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/11.04, allocations: 0 / 4.997 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002217/11.04, allocations: 97.45 kB / 4.997 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/11.04, allocations: 8 kB / 4.997 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/11.04, allocations: 3.984 kB / 4.997 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/11.04, allocations: 4 kB / 4.997 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/11.04, allocations: 19.94 kB / 4.997 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/11.04, allocations: 0 / 4.997 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/11.04, allocations: 7.984 kB / 4.997 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/11.04, allocations: 4 kB / 4.997 GB, free: 145.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.004e-05/11.04, allocations: 107.1 kB / 4.998 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/11.04, allocations: 7.906 kB / 4.998 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/11.04, allocations: 98.5 kB / 4.998 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/11.04, allocations: 4.031 kB / 4.998 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/11.04, allocations: 8 kB / 4.998 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/11.04, allocations: 0 / 4.998 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.906e-05/11.04, allocations: 150 kB / 4.998 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/11.04, allocations: 4 kB / 4.998 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/11.04, allocations: 19.98 kB / 4.998 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/11.04, allocations: 0 / 4.998 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/11.04, allocations: 4 kB / 4.998 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/11.04, allocations: 0 / 4.998 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/11.04, allocations: 0 / 4.998 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002583/11.04, allocations: 159.3 kB / 4.998 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/11.04, allocations: 97 kB / 4.998 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/11.04, allocations: 2.531 kB / 4.998 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/11.04, allocations: 0 / 4.998 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/11.04, allocations: 7.984 kB / 4.998 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/11.04, allocations: 12 kB / 4.998 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.697e-05/11.04, allocations: 75.28 kB / 4.998 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000314/11.04, allocations: 63.98 kB / 4.998 GB, free: 144.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hAirSym,hSteSym,hLiqSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0007677/11.04, allocations: 0.7101 MB / 4.999 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000105/11.04, allocations: 36.25 kB / 4.999 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/11.04, allocations: 4.062 kB / 4.999 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/11.04, allocations: 27.92 kB / 4.999 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/11.04, allocations: 4 kB / 4.999 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/11.05, allocations: 260.8 kB / 4.999 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/11.05, allocations: 0.7032 MB / 5 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of SimCode: time 3.51e-07/11.05, allocations: 0 / 5 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.007086/11.05, allocations: 4.329 MB / 5.004 GB, free: 138.6 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirDerivativeCheck.pipe 2>&1)