Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.975/1.975, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 189.8 kB / 490.8 MB, free: 11.21 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.252/1.252, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009338/0.000934, allocations: 98.84 kB / 0.9264 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of FrontEnd - loaded program: time 0.2839/0.2849, allocations: 149.1 MB / 1.072 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6588/0.9438, allocations: 143 MB / 1.212 GB, free: 53.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.995/4.939, allocations: 1.921 GB / 3.133 GB, free: 87.91 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/4.939, allocations: 71.95 kB / 3.133 GB, free: 87.84 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.09783/5.037, allocations: 48.05 MB / 3.18 GB, free: 39.21 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/5.037, allocations: 8 kB / 3.18 GB, free: 39.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/5.039, allocations: 155.5 kB / 3.18 GB, free: 39.05 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/5.039, allocations: 214.8 kB / 3.18 GB, free: 38.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/5.039, allocations: 8 kB / 3.18 GB, free: 38.79 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/5.039, allocations: 8 kB / 3.18 GB, free: 38.79 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005578/5.04, allocations: 324.6 kB / 3.181 GB, free: 38.47 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/5.04, allocations: 285.7 kB / 3.181 GB, free: 38.16 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/5.04, allocations: 4 kB / 3.181 GB, free: 38.16 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/5.04, allocations: 3.938 kB / 3.181 GB, free: 38.16 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.759e-05/5.04, allocations: 19.92 kB / 3.181 GB, free: 38.14 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/5.042, allocations: 1.109 MB / 3.182 GB, free: 36.94 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/5.042, allocations: 178.7 kB / 3.182 GB, free: 36.75 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/5.042, allocations: 84.94 kB / 3.182 GB, free: 36.66 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004485/5.043, allocations: 356.4 kB / 3.183 GB, free: 36.24 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/5.043, allocations: 38.56 kB / 3.183 GB, free: 36.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 3.477e-06/5.043, allocations: 0 / 3.183 GB, free: 36.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.0005471/5.044, allocations: 184 kB / 3.183 GB, free: 36.01 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/5.044, allocations: 51.41 kB / 3.183 GB, free: 35.95 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/5.044, allocations: 149.6 kB / 3.183 GB, free: 35.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/5.044, allocations: 29.7 kB / 3.183 GB, free: 35.76 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/5.044, allocations: 147.8 kB / 3.183 GB, free: 35.61 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/5.044, allocations: 74.94 kB / 3.183 GB, free: 35.54 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/5.044, allocations: 0 / 3.183 GB, free: 35.54 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.565e-05/5.044, allocations: 322.8 kB / 3.184 GB, free: 35.21 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/5.044, allocations: 64.25 kB / 3.184 GB, free: 35.15 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/5.044, allocations: 159.6 kB / 3.184 GB, free: 34.96 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/5.044, allocations: 88.8 kB / 3.184 GB, free: 34.87 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/5.044, allocations: 3.938 kB / 3.184 GB, free: 34.87 MB / 1.151 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004572/5.045, allocations: 257.4 kB / 3.184 GB, free: 34.61 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/5.045, allocations: 4 kB / 3.184 GB, free: 34.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/5.045, allocations: 4 kB / 3.184 GB, free: 34.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/5.045, allocations: 4 kB / 3.184 GB, free: 34.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/5.045, allocations: 55.91 kB / 3.184 GB, free: 34.54 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/5.045, allocations: 11.91 kB / 3.184 GB, free: 34.53 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/5.046, allocations: 11.84 kB / 3.184 GB, free: 34.52 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/5.046, allocations: 23.91 kB / 3.184 GB, free: 34.5 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 0.000102/5.046, allocations: 116.9 kB / 3.184 GB, free: 34.38 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-05/5.046, allocations: 19.8 kB / 3.185 GB, free: 34.36 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/5.046, allocations: 229.6 kB / 3.185 GB, free: 34.13 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/5.046, allocations: 0 / 3.185 GB, free: 34.13 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/5.046, allocations: 0 / 3.185 GB, free: 34.13 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/5.046, allocations: 3.984 kB / 3.185 GB, free: 34.12 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006465/5.047, allocations: 0.4926 MB / 3.185 GB, free: 33.58 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/5.047, allocations: 4 kB / 3.185 GB, free: 33.58 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/5.047, allocations: 27.98 kB / 3.185 GB, free: 33.55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/5.047, allocations: 4 kB / 3.185 GB, free: 33.55 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/5.047, allocations: 4 kB / 3.185 GB, free: 33.54 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/5.047, allocations: 7.938 kB / 3.185 GB, free: 33.54 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/5.047, allocations: 0 / 3.185 GB, free: 33.54 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004113/5.048, allocations: 314.3 kB / 3.186 GB, free: 33.2 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005624/5.048, allocations: 0.7193 MB / 3.186 GB, free: 32.44 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/5.048, allocations: 120.8 kB / 3.186 GB, free: 32.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/5.048, allocations: 3.938 kB / 3.186 GB, free: 32.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/5.049, allocations: 8 kB / 3.186 GB, free: 32.29 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/5.049, allocations: 7.984 kB / 3.186 GB, free: 32.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/5.049, allocations: 23.98 kB / 3.186 GB, free: 32.26 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.374e-05/5.049, allocations: 110.8 kB / 3.187 GB, free: 32.15 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001427/5.05, allocations: 207.8 kB / 3.187 GB, free: 31.95 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.001104/5.051, allocations: 0.7395 MB / 3.187 GB, free: 31.21 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003666/5.052, allocations: 179.8 kB / 3.188 GB, free: 31.03 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/5.052, allocations: 0 / 3.188 GB, free: 31.03 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/5.052, allocations: 80.66 kB / 3.188 GB, free: 30.95 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/5.052, allocations: 51.92 kB / 3.188 GB, free: 30.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/5.053, allocations: 233.8 kB / 3.188 GB, free: 30.65 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/5.053, allocations: 0.7687 MB / 3.189 GB, free: 29.86 MB / 1.151 GB Notification: Performance of SimCode: time 3e-07/5.053, allocations: 0 / 3.189 GB, free: 29.86 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirProperties.fmu > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1)