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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.8037/0.8037, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.001258/0.001258, allocations: 181.2 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.0009513/0.0009513, allocations: 95.98 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4069/0.4079, allocations: 82.89 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.6178, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.42/12.04, allocations: 4.566 GB / 5.187 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/12.04, allocations: 87.94 kB / 5.187 GB, free: 107.1 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.07035/12.11, allocations: 36.55 MB / 5.222 GB, free: 70.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/12.11, allocations: 12 kB / 5.222 GB, free: 70.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/12.11, allocations: 15.98 kB / 5.222 GB, free: 70.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/12.11, allocations: 163 kB / 5.223 GB, free: 69.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/12.11, allocations: 4 kB / 5.223 GB, free: 69.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/12.11, allocations: 4 kB / 5.223 GB, free: 69.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.762e-05/12.11, allocations: 15.98 kB / 5.223 GB, free: 69.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.024e-05/12.11, allocations: 53.61 kB / 5.223 GB, free: 69.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/12.11, allocations: 0 / 5.223 GB, free: 69.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/12.11, allocations: 3.938 kB / 5.223 GB, free: 69.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/12.11, allocations: 3.906 kB / 5.223 GB, free: 69.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/12.11, allocations: 138.2 kB / 5.223 GB, free: 69.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.809e-05/12.11, allocations: 41.64 kB / 5.223 GB, free: 69.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/12.11, allocations: 16.86 kB / 5.223 GB, free: 69.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/12.11, allocations: 0 / 5.223 GB, free: 69.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/12.11, allocations: 34.55 kB / 5.223 GB, free: 69.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/12.11, allocations: 0 / 5.223 GB, free: 69.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0007502/12.11, allocations: 338.3 kB / 5.223 GB, free: 69.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/12.11, allocations: 59.39 kB / 5.223 GB, free: 68.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.858e-05/12.11, allocations: 89 kB / 5.223 GB, free: 68.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/12.11, allocations: 25.7 kB / 5.223 GB, free: 68.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.527e-05/12.11, allocations: 80.58 kB / 5.223 GB, free: 68.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/12.11, allocations: 39.36 kB / 5.223 GB, free: 68.74 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/12.11, allocations: 0 / 5.223 GB, free: 68.74 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.222e-05/12.11, allocations: 318.9 kB / 5.224 GB, free: 68.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.033e-05/12.11, allocations: 12.12 kB / 5.224 GB, free: 68.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/12.11, allocations: 41.7 kB / 5.224 GB, free: 68.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/12.11, allocations: 19.94 kB / 5.224 GB, free: 68.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/12.11, allocations: 0 / 5.224 GB, free: 68.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001173/12.11, allocations: 85.58 kB / 5.224 GB, free: 68.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/12.11, allocations: 4 kB / 5.224 GB, free: 68.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/12.11, allocations: 3.938 kB / 5.224 GB, free: 68.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/12.11, allocations: 4 kB / 5.224 GB, free: 68.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/12.11, allocations: 19.94 kB / 5.224 GB, free: 68.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/12.11, allocations: 0 / 5.224 GB, free: 68.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/12.11, allocations: 8 kB / 5.224 GB, free: 68.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/12.11, allocations: 0 / 5.224 GB, free: 68.21 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.029e-05/12.11, allocations: 109 kB / 5.224 GB, free: 68.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/12.11, allocations: 3.906 kB / 5.224 GB, free: 68.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/12.11, allocations: 15.91 kB / 5.224 GB, free: 68.08 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/12.11, allocations: 0 / 5.224 GB, free: 68.08 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/12.11, allocations: 0 / 5.224 GB, free: 68.08 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/12.11, allocations: 0 / 5.224 GB, free: 68.08 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/12.11, allocations: 146.1 kB / 5.224 GB, free: 67.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-06/12.11, allocations: 7.984 kB / 5.224 GB, free: 67.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/12.11, allocations: 23.94 kB / 5.224 GB, free: 67.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/12.11, allocations: 0 / 5.224 GB, free: 67.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/12.11, allocations: 0 / 5.224 GB, free: 67.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/12.11, allocations: 0 / 5.224 GB, free: 67.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/12.11, allocations: 0 / 5.224 GB, free: 67.87 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001998/12.11, allocations: 133 kB / 5.224 GB, free: 67.72 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003268/12.11, allocations: 0.5286 MB / 5.225 GB, free: 67.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/12.11, allocations: 93 kB / 5.225 GB, free: 67.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/12.11, allocations: 336 / 5.225 GB, free: 67.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/12.11, allocations: 4 kB / 5.225 GB, free: 67.06 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/12.11, allocations: 7.922 kB / 5.225 GB, free: 67.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/12.11, allocations: 8 kB / 5.225 GB, free: 67.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.412e-05/12.11, allocations: 79.28 kB / 5.225 GB, free: 66.96 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000933/12.11, allocations: 91.89 kB / 5.225 GB, free: 66.88 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.0007786/12.11, allocations: 0.6644 MB / 5.226 GB, free: 66.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001169/12.11, allocations: 51.94 kB / 5.226 GB, free: 66.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/12.11, allocations: 0 / 5.226 GB, free: 66.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/12.11, allocations: 27.98 kB / 5.226 GB, free: 66.13 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/12.11, allocations: 3.938 kB / 5.226 GB, free: 66.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/12.11, allocations: 266.1 kB / 5.226 GB, free: 65.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/12.11, allocations: 0.7074 MB / 5.227 GB, free: 65.11 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/12.11, allocations: 0 / 5.227 GB, free: 65.11 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)