Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_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.004171/0.004171, allocations: 179.5 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7128/0.7128, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.687/1.687, allocations: 221.3 MB / 395 MB, free: 10.3 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 101.2 kB / 477.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5086/0.5097, allocations: 88.44 MB / 0.5529 GB, free: 88.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.7204, allocations: 82.29 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.811/10.53, allocations: 4.151 GB / 4.784 GB, free: 255.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/10.53, allocations: 84.3 kB / 4.784 GB, free: 255.1 MB / 0.6823 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.06914/10.6, allocations: 36.31 MB / 4.819 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/10.6, allocations: 8 kB / 4.819 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/10.6, allocations: 15.89 kB / 4.819 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.096e-05/10.6, allocations: 167 kB / 4.82 GB, free: 221 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/10.6, allocations: 0 / 4.82 GB, free: 221 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/10.6, allocations: 7.906 kB / 4.82 GB, free: 221 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.241e-05/10.6, allocations: 19.98 kB / 4.82 GB, free: 221 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.634e-05/10.6, allocations: 41.69 kB / 4.82 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/10.6, allocations: 7.875 kB / 4.82 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/10.6, allocations: 0 / 4.82 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/10.6, allocations: 4 kB / 4.82 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/10.6, allocations: 142.1 kB / 4.82 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.535e-05/10.6, allocations: 37.78 kB / 4.82 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/10.6, allocations: 21 kB / 4.82 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/10.6, allocations: 3.984 kB / 4.82 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/10.6, allocations: 34.56 kB / 4.82 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/10.6, allocations: 0 / 4.82 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0006178/10.6, allocations: 330.1 kB / 4.82 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.786e-05/10.6, allocations: 55.41 kB / 4.82 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.023e-05/10.6, allocations: 89 kB / 4.82 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/10.6, allocations: 25.7 kB / 4.82 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.459e-05/10.6, allocations: 80.58 kB / 4.82 GB, free: 220 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/10.6, allocations: 39.45 kB / 4.821 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/10.6, allocations: 0 / 4.821 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.499e-05/10.6, allocations: 318.8 kB / 4.821 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/10.6, allocations: 20.06 kB / 4.821 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/10.6, allocations: 34.72 kB / 4.821 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.264e-05/10.6, allocations: 23.86 kB / 4.821 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/10.6, allocations: 0 / 4.821 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.92e-05/10.6, allocations: 85.58 kB / 4.821 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/10.6, allocations: 8 kB / 4.821 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/10.6, allocations: 0 / 4.821 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/10.6, allocations: 0 / 4.821 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/10.6, allocations: 27.92 kB / 4.821 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/10.6, allocations: 4 kB / 4.821 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/10.6, allocations: 3.906 kB / 4.821 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/10.6, allocations: 4 kB / 4.821 GB, free: 219.4 MB / 0.6823 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.019e-05/10.6, allocations: 101 kB / 4.821 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/10.6, allocations: 7.906 kB / 4.821 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/10.6, allocations: 7.906 kB / 4.821 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/10.6, allocations: 0 / 4.821 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/10.6, allocations: 0 / 4.821 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/10.6, allocations: 4 kB / 4.821 GB, free: 219.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.689e-05/10.6, allocations: 154.2 kB / 4.821 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/10.6, allocations: 0 / 4.821 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/10.6, allocations: 23.92 kB / 4.821 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/10.6, allocations: 0 / 4.821 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/10.6, allocations: 4 kB / 4.821 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/10.6, allocations: 0 / 4.821 GB, free: 219.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/10.6, allocations: 3.906 kB / 4.821 GB, free: 219 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001464/10.6, allocations: 125 kB / 4.821 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002601/10.6, allocations: 0.5367 MB / 4.822 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/10.6, allocations: 85.02 kB / 4.822 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/10.6, allocations: 0 / 4.822 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/10.6, allocations: 7.984 kB / 4.822 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/10.6, allocations: 4 kB / 4.822 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/10.6, allocations: 0 / 4.822 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.732e-05/10.6, allocations: 87.28 kB / 4.822 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008601/10.6, allocations: 83.98 kB / 4.822 GB, free: 218.1 MB / 0.6823 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.0006232/10.61, allocations: 0.6689 MB / 4.823 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001038/10.61, allocations: 55.94 kB / 4.823 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/10.61, allocations: 0 / 4.823 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-05/10.61, allocations: 24 kB / 4.823 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/10.61, allocations: 6.719 kB / 4.823 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/10.61, allocations: 274.1 kB / 4.823 GB, free: 217 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/10.61, allocations: 0.7153 MB / 4.824 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/10.61, allocations: 0 / 4.824 GB, free: 216.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)