Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirProperties.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.Examples.AirProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirProperties",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.003151/0.003151, allocations: 179.8 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.6939/0.6939, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.504/1.504, allocations: 221.3 MB / 395 MB, free: 10.21 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.00103/0.00103, allocations: 98.27 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4468/0.4479, allocations: 88.41 MB / 0.5529 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.651, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.216/4.867, allocations: 1.884 GB / 2.517 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/4.867, allocations: 75.42 kB / 2.517 GB, free: 76.5 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.09453/4.962, allocations: 48.02 MB / 2.564 GB, free: 27.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/4.962, allocations: 8 kB / 2.564 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/4.963, allocations: 143.6 kB / 2.564 GB, free: 27.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/4.963, allocations: 234.6 kB / 2.564 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/4.963, allocations: 8 kB / 2.564 GB, free: 27.49 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/4.963, allocations: 12 kB / 2.564 GB, free: 27.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004656/4.964, allocations: 316.6 kB / 2.565 GB, free: 27.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/4.964, allocations: 286 kB / 2.565 GB, free: 26.87 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/4.964, allocations: 0 / 2.565 GB, free: 26.87 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/4.964, allocations: 4 kB / 2.565 GB, free: 26.87 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/4.964, allocations: 11.91 kB / 2.565 GB, free: 26.86 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/4.966, allocations: 1.109 MB / 2.566 GB, free: 25.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/4.966, allocations: 182.7 kB / 2.566 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/4.966, allocations: 77.02 kB / 2.566 GB, free: 25.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/4.967, allocations: 368.4 kB / 2.567 GB, free: 24.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/4.967, allocations: 34.56 kB / 2.567 GB, free: 24.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/4.967, allocations: 4 kB / 2.567 GB, free: 24.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21): time 0.0004536/4.967, allocations: 185.1 kB / 2.567 GB, free: 24.72 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/4.967, allocations: 55.41 kB / 2.567 GB, free: 24.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/4.967, allocations: 145.7 kB / 2.567 GB, free: 24.51 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/4.967, allocations: 25.7 kB / 2.567 GB, free: 24.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/4.967, allocations: 147.8 kB / 2.567 GB, free: 24.33 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/4.967, allocations: 70.95 kB / 2.567 GB, free: 24.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/4.967, allocations: 0 / 2.567 GB, free: 24.26 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.02e-05/4.967, allocations: 330.7 kB / 2.568 GB, free: 23.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.346e-05/4.967, allocations: 68.23 kB / 2.568 GB, free: 23.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/4.968, allocations: 155.6 kB / 2.568 GB, free: 23.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/4.968, allocations: 88.62 kB / 2.568 GB, free: 23.58 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/4.968, allocations: 0 / 2.568 GB, free: 23.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000391/4.968, allocations: 253.1 kB / 2.568 GB, free: 23.33 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/4.968, allocations: 8 kB / 2.568 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/4.968, allocations: 384 / 2.568 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/4.968, allocations: 15.98 kB / 2.568 GB, free: 23.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/4.968, allocations: 55.92 kB / 2.568 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/4.969, allocations: 11.92 kB / 2.568 GB, free: 23.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/4.969, allocations: 19.75 kB / 2.568 GB, free: 23.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/4.969, allocations: 12 kB / 2.568 GB, free: 23.21 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.108e-05/4.969, allocations: 112.9 kB / 2.568 GB, free: 23.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/4.969, allocations: 19.81 kB / 2.568 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003825/4.969, allocations: 225.9 kB / 2.569 GB, free: 22.85 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/4.969, allocations: 7.906 kB / 2.569 GB, free: 22.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/4.969, allocations: 3.938 kB / 2.569 GB, free: 22.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/4.969, allocations: 112 / 2.569 GB, free: 22.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/4.97, allocations: 0.4887 MB / 2.569 GB, free: 22.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/4.97, allocations: 0 / 2.569 GB, free: 22.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/4.97, allocations: 35.98 kB / 2.569 GB, free: 22.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/4.97, allocations: 7.906 kB / 2.569 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/4.97, allocations: 4 kB / 2.569 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/4.97, allocations: 0 / 2.569 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/4.97, allocations: 3.984 kB / 2.569 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003132/4.97, allocations: 316.4 kB / 2.569 GB, free: 21.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004658/4.971, allocations: 0.7077 MB / 2.57 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.519e-05/4.971, allocations: 120.8 kB / 2.57 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/4.971, allocations: 0 / 2.57 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/4.971, allocations: 15.98 kB / 2.57 GB, free: 21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/4.971, allocations: 11.98 kB / 2.57 GB, free: 20.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/4.971, allocations: 15.89 kB / 2.57 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.289e-05/4.971, allocations: 114.6 kB / 2.57 GB, free: 20.87 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001177/4.973, allocations: 199.8 kB / 2.571 GB, free: 20.67 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008412/4.973, allocations: 0.7455 MB / 2.571 GB, free: 19.92 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000308/4.974, allocations: 189.5 kB / 2.571 GB, free: 19.74 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/4.974, allocations: 3.938 kB / 2.571 GB, free: 19.74 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.712e-05/4.974, allocations: 75.91 kB / 2.571 GB, free: 19.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/4.974, allocations: 51.78 kB / 2.572 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/4.975, allocations: 229.9 kB / 2.572 GB, free: 19.37 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/4.975, allocations: 0.7725 MB / 2.573 GB, free: 18.57 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/4.975, allocations: 0 / 2.573 GB, free: 18.57 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe 2>&1)