Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_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.005679/0.005679, allocations: 178.9 kB / 7.457 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.7396/0.7396, 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.541/1.541, allocations: 221.3 MB / 395 MB, free: 10.23 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.0009683/0.0009685, allocations: 109.4 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4416/0.4426, allocations: 88.41 MB / 0.5529 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.6011, allocations: 82.31 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.353/4.954, allocations: 1.884 GB / 2.517 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/4.954, allocations: 71.97 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.09568/5.05, allocations: 48.02 MB / 2.564 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/5.05, allocations: 8 kB / 2.564 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/5.051, allocations: 147.6 kB / 2.564 GB, free: 27.76 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/5.051, allocations: 222.7 kB / 2.564 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/5.052, allocations: 8 kB / 2.564 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/5.052, allocations: 11.98 kB / 2.564 GB, free: 27.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004489/5.052, allocations: 320.6 kB / 2.565 GB, free: 27.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/5.052, allocations: 282 kB / 2.565 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/5.052, allocations: 4 kB / 2.565 GB, free: 26.87 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/5.052, allocations: 0 / 2.565 GB, free: 26.87 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/5.052, allocations: 19.89 kB / 2.565 GB, free: 26.85 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/5.054, allocations: 1.109 MB / 2.566 GB, free: 25.65 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/5.054, allocations: 186.6 kB / 2.566 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/5.054, allocations: 78.14 kB / 2.566 GB, free: 25.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/5.055, allocations: 360.5 kB / 2.567 GB, free: 24.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/5.055, allocations: 38.56 kB / 2.567 GB, free: 24.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/5.055, allocations: 0 / 2.567 GB, free: 24.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21): time 0.000452/5.055, allocations: 183.8 kB / 2.567 GB, free: 24.72 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/5.055, allocations: 55.41 kB / 2.567 GB, free: 24.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/5.055, allocations: 149.6 kB / 2.567 GB, free: 24.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/5.055, allocations: 29.7 kB / 2.567 GB, free: 24.47 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/5.055, allocations: 147.8 kB / 2.567 GB, free: 24.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/5.055, allocations: 70.94 kB / 2.567 GB, free: 24.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/5.055, allocations: 0 / 2.567 GB, free: 24.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.244e-05/5.055, allocations: 330.7 kB / 2.568 GB, free: 23.92 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.099e-05/5.056, allocations: 64.25 kB / 2.568 GB, free: 23.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/5.056, allocations: 159.6 kB / 2.568 GB, free: 23.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/5.056, allocations: 88.62 kB / 2.568 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/5.056, allocations: 0 / 2.568 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003883/5.056, allocations: 257 kB / 2.568 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/5.056, allocations: 4 kB / 2.568 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-06/5.056, allocations: 4 kB / 2.568 GB, free: 23.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/5.056, allocations: 4 kB / 2.568 GB, free: 23.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/5.057, allocations: 59.91 kB / 2.568 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/5.057, allocations: 11.94 kB / 2.568 GB, free: 23.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/5.057, allocations: 19.75 kB / 2.568 GB, free: 23.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/5.057, allocations: 11.98 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.171e-05/5.057, allocations: 120.9 kB / 2.568 GB, free: 23.08 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/5.057, allocations: 15.81 kB / 2.568 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003804/5.057, allocations: 222.3 kB / 2.569 GB, free: 22.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/5.057, allocations: 7.891 kB / 2.569 GB, free: 22.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/5.057, allocations: 112 / 2.569 GB, free: 22.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/5.057, allocations: 3.938 kB / 2.569 GB, free: 22.83 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/5.058, allocations: 0.4927 MB / 2.569 GB, free: 22.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/5.058, allocations: 0 / 2.569 GB, free: 22.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/5.058, allocations: 31.92 kB / 2.569 GB, free: 22.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/5.058, allocations: 7.906 kB / 2.569 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/5.058, allocations: 0 / 2.569 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/5.058, allocations: 4 kB / 2.569 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/5.058, allocations: 0 / 2.569 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003183/5.059, allocations: 316.4 kB / 2.569 GB, free: 21.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004379/5.059, allocations: 0.7116 MB / 2.57 GB, free: 21.15 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.565e-05/5.059, allocations: 120.8 kB / 2.57 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/5.059, allocations: 0 / 2.57 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/5.059, allocations: 11.98 kB / 2.57 GB, free: 21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/5.059, allocations: 11.98 kB / 2.57 GB, free: 20.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/5.06, allocations: 19.91 kB / 2.57 GB, free: 20.97 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.38e-05/5.06, allocations: 115.4 kB / 2.57 GB, free: 20.86 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001184/5.061, allocations: 203.8 kB / 2.571 GB, free: 20.66 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.0007576/5.062, allocations: 0.7458 MB / 2.571 GB, free: 19.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000269/5.062, allocations: 181.4 kB / 2.571 GB, free: 19.74 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/5.062, allocations: 11.88 kB / 2.571 GB, free: 19.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/5.062, allocations: 80.64 kB / 2.572 GB, free: 19.65 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/5.062, allocations: 50.98 kB / 2.572 GB, free: 19.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/5.063, allocations: 233.8 kB / 2.572 GB, free: 19.35 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/5.063, allocations: 0.7609 MB / 2.573 GB, free: 18.57 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/5.063, allocations: 0 / 2.573 GB, free: 18.57 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1)