Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8319/0.8319, allocations: 127.4 MB / 134.6 MB, free: 4.102 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 181.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.905/1.905, allocations: 205.1 MB / 399.1 MB, free: 6.039 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001009, allocations: 89.92 kB / 476.3 MB, free: 8.793 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.905e-06, allocations: 0 / 0.546 GB, free: 42.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2097, allocations: 76.75 MB / 0.6209 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.71/11.92, allocations: 4.566 GB / 5.187 GB, free: 488 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004393/11.92, allocations: 87.94 kB / 5.187 GB, free: 400 kB / 0.6355 GB Notification: Performance of FrontEnd: time 0.5267/12.45, allocations: 36.22 MB / 5.222 GB, free: 177.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.995e-06/12.45, allocations: 0 / 5.222 GB, free: 177.7 MB / 0.6355 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.0003617/12.45, allocations: 339.3 kB / 5.222 GB, free: 177.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/12.45, allocations: 11.81 kB / 5.222 GB, free: 177.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/12.45, allocations: 10.89 kB / 5.222 GB, free: 177.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/12.45, allocations: 173.9 kB / 5.222 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/12.45, allocations: 0 / 5.222 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/12.45, allocations: 7.953 kB / 5.222 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.306e-05/12.45, allocations: 14.95 kB / 5.222 GB, free: 177.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.767e-05/12.45, allocations: 43.97 kB / 5.223 GB, free: 177.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/12.45, allocations: 0 / 5.223 GB, free: 177.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/12.45, allocations: 0 / 5.223 GB, free: 177.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/12.45, allocations: 11.75 kB / 5.223 GB, free: 177.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/12.45, allocations: 143.5 kB / 5.223 GB, free: 177 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.73e-05/12.45, allocations: 39.98 kB / 5.223 GB, free: 176.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/12.45, allocations: 12.55 kB / 5.223 GB, free: 176.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/12.45, allocations: 3.906 kB / 5.223 GB, free: 176.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/12.45, allocations: 30.56 kB / 5.223 GB, free: 176.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/12.45, allocations: 0.75 kB / 5.223 GB, free: 176.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0007844/12.45, allocations: 339.5 kB / 5.223 GB, free: 176.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/12.45, allocations: 55.31 kB / 5.223 GB, free: 176.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.529e-05/12.45, allocations: 85 kB / 5.223 GB, free: 176.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/12.45, allocations: 25.7 kB / 5.223 GB, free: 176.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.342e-05/12.45, allocations: 80.58 kB / 5.223 GB, free: 176.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/12.45, allocations: 45.17 kB / 5.223 GB, free: 176.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/12.45, allocations: 4.125 kB / 5.223 GB, free: 176.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/12.45, allocations: 319 kB / 5.224 GB, free: 176 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.162e-05/12.45, allocations: 11.28 kB / 5.224 GB, free: 176 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/12.45, allocations: 39.91 kB / 5.224 GB, free: 176 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.514e-05/12.45, allocations: 18.28 kB / 5.224 GB, free: 176 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/12.45, allocations: 0 / 5.224 GB, free: 176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001399/12.45, allocations: 92.19 kB / 5.224 GB, free: 175.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/12.45, allocations: 3.906 kB / 5.224 GB, free: 175.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/12.45, allocations: 4 kB / 5.224 GB, free: 175.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/12.45, allocations: 0 / 5.224 GB, free: 175.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/12.45, allocations: 25.98 kB / 5.224 GB, free: 175.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/12.45, allocations: 3.938 kB / 5.224 GB, free: 175.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.76e-05/12.45, allocations: 3.812 kB / 5.224 GB, free: 175.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/12.45, allocations: 0 / 5.224 GB, free: 175.9 MB / 0.6355 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 7.758e-05/12.45, allocations: 108.8 kB / 5.224 GB, free: 175.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/12.45, allocations: 3.906 kB / 5.224 GB, free: 175.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.989e-05/12.45, allocations: 13.78 kB / 5.224 GB, free: 175.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/12.45, allocations: 4 kB / 5.224 GB, free: 175.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/12.45, allocations: 0 / 5.224 GB, free: 175.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/12.45, allocations: 2.859 kB / 5.224 GB, free: 175.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/12.45, allocations: 150.3 kB / 5.224 GB, free: 175.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/12.45, allocations: 4 kB / 5.224 GB, free: 175.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/12.45, allocations: 22.58 kB / 5.224 GB, free: 175.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/12.45, allocations: 0 / 5.224 GB, free: 175.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/12.45, allocations: 0 / 5.224 GB, free: 175.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/12.45, allocations: 3.906 kB / 5.224 GB, free: 175.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/12.45, allocations: 0 / 5.224 GB, free: 175.7 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001851/12.46, allocations: 126.9 kB / 5.224 GB, free: 175.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/12.46, allocations: 87.84 kB / 5.224 GB, free: 175.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/12.46, allocations: 0 / 5.224 GB, free: 175.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/12.46, allocations: 7.25 kB / 5.224 GB, free: 175.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/12.46, allocations: 0 / 5.224 GB, free: 175.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/12.46, allocations: 10.78 kB / 5.224 GB, free: 175.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.346e-05/12.46, allocations: 75.28 kB / 5.224 GB, free: 175.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00033/12.46, allocations: 42.94 kB / 5.225 GB, free: 175.4 MB / 0.6355 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.001188/12.46, allocations: 0.6627 MB / 5.225 GB, free: 175.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001393/12.46, allocations: 53.42 kB / 5.225 GB, free: 175.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/12.46, allocations: 0 / 5.225 GB, free: 175.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/12.46, allocations: 28.25 kB / 5.225 GB, free: 175.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/12.46, allocations: 10.92 kB / 5.225 GB, free: 175.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/12.46, allocations: 258.4 kB / 5.225 GB, free: 175 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/12.46, allocations: 0.7019 MB / 5.226 GB, free: 174.3 MB / 0.6355 GB Notification: Performance of SimCode: time 3.51e-07/12.46, allocations: 0 / 5.226 GB, free: 174.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.01037/12.47, allocations: 4.05 MB / 5.23 GB, free: 173.6 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)