Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.984/1.984, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00211/0.00211, allocations: 185.2 kB / 487 MB, free: 5.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.3 MB / 0.7819 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009555/0.0009554, allocations: 97.06 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5576/0.5586, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.801, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.01/4.811, allocations: 1.921 GB / 3.126 GB, free: 403 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/4.811, allocations: 71.97 kB / 3.126 GB, free: 402.9 MB / 1.151 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.09226/4.903, allocations: 48.04 MB / 3.173 GB, free: 354.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/4.903, allocations: 16 kB / 3.173 GB, free: 354.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/4.905, allocations: 147.5 kB / 3.173 GB, free: 354.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/4.905, allocations: 218.7 kB / 3.173 GB, free: 353.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/4.905, allocations: 8 kB / 3.173 GB, free: 353.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/4.905, allocations: 8 kB / 3.173 GB, free: 353.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004624/4.905, allocations: 324.6 kB / 3.174 GB, free: 353.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/4.906, allocations: 285.7 kB / 3.174 GB, free: 353.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/4.906, allocations: 0 / 3.174 GB, free: 353.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/4.906, allocations: 8 kB / 3.174 GB, free: 353.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/4.906, allocations: 8 kB / 3.174 GB, free: 353.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/4.907, allocations: 1.117 MB / 3.175 GB, free: 352.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/4.908, allocations: 178.7 kB / 3.175 GB, free: 351.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/4.908, allocations: 80.95 kB / 3.175 GB, free: 351.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004098/4.908, allocations: 364.4 kB / 3.176 GB, free: 351.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/4.908, allocations: 34.56 kB / 3.176 GB, free: 351.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/4.908, allocations: 0 / 3.176 GB, free: 351.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.0004731/4.909, allocations: 188 kB / 3.176 GB, free: 351.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/4.909, allocations: 55.41 kB / 3.176 GB, free: 351.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/4.909, allocations: 143.5 kB / 3.176 GB, free: 350.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/4.909, allocations: 29.7 kB / 3.176 GB, free: 350.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/4.909, allocations: 147.8 kB / 3.176 GB, free: 350.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/4.909, allocations: 70.95 kB / 3.176 GB, free: 350.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/4.909, allocations: 0 / 3.176 GB, free: 350.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.508e-05/4.909, allocations: 322.8 kB / 3.177 GB, free: 350.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.392e-05/4.909, allocations: 68.23 kB / 3.177 GB, free: 350.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/4.909, allocations: 160.1 kB / 3.177 GB, free: 350.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/4.909, allocations: 90.94 kB / 3.177 GB, free: 350 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/4.909, allocations: 0 / 3.177 GB, free: 350 MB / 1.151 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003939/4.91, allocations: 253.4 kB / 3.177 GB, free: 349.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/4.91, allocations: 18.83 kB / 3.177 GB, free: 349.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/4.91, allocations: 0 / 3.177 GB, free: 349.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/4.91, allocations: 8 kB / 3.177 GB, free: 349.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/4.91, allocations: 55.83 kB / 3.177 GB, free: 349.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/4.91, allocations: 4.109 kB / 3.177 GB, free: 349.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/4.91, allocations: 27.67 kB / 3.177 GB, free: 349.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/4.91, allocations: 12 kB / 3.177 GB, free: 349.6 MB / 1.151 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.561e-05/4.91, allocations: 112.9 kB / 3.177 GB, free: 349.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/4.91, allocations: 19.81 kB / 3.177 GB, free: 349.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/4.911, allocations: 236.7 kB / 3.178 GB, free: 349.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/4.911, allocations: 0 / 3.178 GB, free: 349.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/4.911, allocations: 0 / 3.178 GB, free: 349.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/4.911, allocations: 4 kB / 3.178 GB, free: 349.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/4.911, allocations: 0.4887 MB / 3.178 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/4.911, allocations: 4.062 kB / 3.178 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/4.912, allocations: 31.98 kB / 3.178 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/4.912, allocations: 0 / 3.178 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/4.912, allocations: 0 / 3.178 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/4.912, allocations: 7.938 kB / 3.178 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/4.912, allocations: 3.906 kB / 3.178 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003306/4.912, allocations: 320.4 kB / 3.178 GB, free: 348.3 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004207/4.912, allocations: 0.7154 MB / 3.179 GB, free: 347.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.169e-05/4.913, allocations: 116.8 kB / 3.179 GB, free: 347.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/4.913, allocations: 0 / 3.179 GB, free: 347.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/4.913, allocations: 15.92 kB / 3.179 GB, free: 347.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/4.913, allocations: 11.98 kB / 3.179 GB, free: 347.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/4.913, allocations: 12 kB / 3.179 GB, free: 347.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.198e-05/4.913, allocations: 117.5 kB / 3.179 GB, free: 347.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001201/4.914, allocations: 203.8 kB / 3.18 GB, free: 347.1 MB / 1.151 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.0008972/4.915, allocations: 0.7377 MB / 3.18 GB, free: 346.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002955/4.915, allocations: 179.8 kB / 3.18 GB, free: 346.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/4.915, allocations: 0 / 3.18 GB, free: 346.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 9.487e-05/4.915, allocations: 84.72 kB / 3.181 GB, free: 346.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/4.916, allocations: 47.92 kB / 3.181 GB, free: 346.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005531/4.916, allocations: 237.8 kB / 3.181 GB, free: 345.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/4.917, allocations: 0.7609 MB / 3.182 GB, free: 345 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/4.917, allocations: 0 / 3.182 GB, free: 345 MB / 1.151 GB (rm -f Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_AirProperties.fmu > Buildings_9_Buildings.Media.Examples.AirProperties.pipe 2>&1)