Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 191.4 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4768/0.4768, allocations: 90.86 MB / 99.08 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.4 MB / 342.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 88.77 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1649/0.166, allocations: 78.44 MB / 494 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.5305, allocations: 72.31 MB / 0.553 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.119/7.65, allocations: 4.141 GB / 4.694 GB, free: 31.38 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/7.65, allocations: 79.95 kB / 4.694 GB, free: 31.3 MB / 0.6042 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.3528/8.003, allocations: 36.32 MB / 4.73 GB, free: 215.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/8.003, allocations: 6.812 kB / 4.73 GB, free: 215.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/8.003, allocations: 14.12 kB / 4.73 GB, free: 215.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.239e-05/8.003, allocations: 172.2 kB / 4.73 GB, free: 215.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/8.003, allocations: 0 / 4.73 GB, free: 215.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/8.003, allocations: 7.75 kB / 4.73 GB, free: 215.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.357e-05/8.003, allocations: 16.67 kB / 4.73 GB, free: 215.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.994e-05/8.003, allocations: 47.27 kB / 4.73 GB, free: 215.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/8.003, allocations: 5.25 kB / 4.73 GB, free: 215.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/8.003, allocations: 0 / 4.73 GB, free: 215.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/8.003, allocations: 0 / 4.73 GB, free: 215.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/8.004, allocations: 143.5 kB / 4.73 GB, free: 215.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.068e-05/8.004, allocations: 40.08 kB / 4.73 GB, free: 215.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/8.004, allocations: 11.02 kB / 4.73 GB, free: 215.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/8.004, allocations: 0 / 4.73 GB, free: 215.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/8.004, allocations: 40.5 kB / 4.73 GB, free: 215.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/8.004, allocations: 0 / 4.73 GB, free: 215.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0006728/8.004, allocations: 334.5 kB / 4.73 GB, free: 215.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/8.004, allocations: 52.75 kB / 4.73 GB, free: 215.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.796e-05/8.005, allocations: 94.77 kB / 4.731 GB, free: 215 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/8.005, allocations: 25.7 kB / 4.731 GB, free: 215 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.015e-05/8.005, allocations: 83.14 kB / 4.731 GB, free: 214.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/8.005, allocations: 33.12 kB / 4.731 GB, free: 214.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/8.005, allocations: 0 / 4.731 GB, free: 214.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.4e-05/8.005, allocations: 324.3 kB / 4.731 GB, free: 214.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/8.005, allocations: 12.69 kB / 4.731 GB, free: 214.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-05/8.005, allocations: 39.27 kB / 4.731 GB, free: 214.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.818e-05/8.005, allocations: 17.31 kB / 4.731 GB, free: 214.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/8.005, allocations: 0 / 4.731 GB, free: 214.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001167/8.005, allocations: 82.14 kB / 4.731 GB, free: 214.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/8.005, allocations: 6.312 kB / 4.731 GB, free: 214.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/8.005, allocations: 0 / 4.731 GB, free: 214.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/8.005, allocations: 3.906 kB / 4.731 GB, free: 214.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/8.005, allocations: 28.5 kB / 4.731 GB, free: 214.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/8.005, allocations: 0 / 4.731 GB, free: 214.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/8.005, allocations: 0 / 4.731 GB, free: 214.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/8.005, allocations: 4.625 kB / 4.731 GB, free: 214.5 MB / 0.6042 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 5.587e-05/8.005, allocations: 104.5 kB / 4.731 GB, free: 214.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/8.005, allocations: 12.78 kB / 4.731 GB, free: 214.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/8.005, allocations: 12.66 kB / 4.731 GB, free: 214.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/8.005, allocations: 3.938 kB / 4.731 GB, free: 214.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/8.005, allocations: 0 / 4.731 GB, free: 214.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/8.005, allocations: 0 / 4.731 GB, free: 214.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.988e-05/8.005, allocations: 148.4 kB / 4.731 GB, free: 214.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/8.005, allocations: 0 / 4.731 GB, free: 214.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/8.006, allocations: 28.97 kB / 4.731 GB, free: 214.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/8.006, allocations: 0 / 4.731 GB, free: 214.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/8.006, allocations: 3.906 kB / 4.731 GB, free: 214.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/8.006, allocations: 2.875 kB / 4.731 GB, free: 214.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/8.006, allocations: 0 / 4.731 GB, free: 214.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001664/8.006, allocations: 125.4 kB / 4.732 GB, free: 214.1 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002783/8.006, allocations: 0.5353 MB / 4.732 GB, free: 213.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/8.006, allocations: 83.89 kB / 4.732 GB, free: 213.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/8.006, allocations: 3.625 kB / 4.732 GB, free: 213.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.72e-05/8.006, allocations: 10.5 kB / 4.732 GB, free: 213.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/8.006, allocations: 5.406 kB / 4.732 GB, free: 213.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/8.006, allocations: 3.531 kB / 4.732 GB, free: 213.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.171e-05/8.006, allocations: 79.22 kB / 4.732 GB, free: 213.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009665/8.007, allocations: 83.12 kB / 4.732 GB, free: 213.5 MB / 0.6042 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.0007198/8.008, allocations: 0.6705 MB / 4.733 GB, free: 213.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001125/8.008, allocations: 49.81 kB / 4.733 GB, free: 213.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/8.008, allocations: 0 / 4.733 GB, free: 213.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/8.008, allocations: 26.19 kB / 4.733 GB, free: 213.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/8.008, allocations: 6.719 kB / 4.733 GB, free: 213.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/8.009, allocations: 270.3 kB / 4.733 GB, free: 213.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/8.009, allocations: 0.7103 MB / 4.734 GB, free: 212.6 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/8.009, allocations: 0 / 4.734 GB, free: 212.6 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)