Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.347/1.347, allocations: 285.5 MB / 292.8 MB, free: 1.047 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 178.3 kB / 361.1 MB, free: 15.43 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.117/1.117, allocations: 205.1 MB / 0.6195 GB, free: 6.129 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008592/0.0008591, allocations: 89.5 kB / 0.7325 GB, free: 47.12 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.2222/0.2231, allocations: 121.4 MB / 0.8511 GB, free: 12.97 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5126/0.7357, allocations: 115.3 MB / 0.9637 GB, free: 85.85 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.335/4.071, allocations: 2.076 GB / 3.04 GB, free: 34 MB / 0.9405 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/4.071, allocations: 67.97 kB / 3.04 GB, free: 33.93 MB / 0.9405 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.5136/4.585, allocations: 50.46 MB / 3.089 GB, free: 320.7 MB / 0.9405 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/4.585, allocations: 9.625 kB / 3.089 GB, free: 320.7 MB / 0.9405 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/4.586, allocations: 145.2 kB / 3.089 GB, free: 320.7 MB / 0.9405 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/4.587, allocations: 226.8 kB / 3.089 GB, free: 320.5 MB / 0.9405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/4.587, allocations: 10.38 kB / 3.089 GB, free: 320.5 MB / 0.9405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/4.587, allocations: 11.09 kB / 3.089 GB, free: 320.5 MB / 0.9405 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004936/4.587, allocations: 324 kB / 3.09 GB, free: 320.5 MB / 0.9405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/4.588, allocations: 288.5 kB / 3.09 GB, free: 320.4 MB / 0.9405 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/4.588, allocations: 0 / 3.09 GB, free: 320.4 MB / 0.9405 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/4.588, allocations: 0 / 3.09 GB, free: 320.4 MB / 0.9405 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/4.588, allocations: 12.25 kB / 3.09 GB, free: 320.4 MB / 0.9405 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/4.589, allocations: 1.107 MB / 3.091 GB, free: 319.6 MB / 0.9405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/4.59, allocations: 187.2 kB / 3.091 GB, free: 319.6 MB / 0.9405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/4.59, allocations: 77.98 kB / 3.091 GB, free: 319.6 MB / 0.9405 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003619/4.59, allocations: 357.4 kB / 3.092 GB, free: 319.2 MB / 0.9405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/4.59, allocations: 37.56 kB / 3.092 GB, free: 319.2 MB / 0.9405 GB Notification: Performance of pre-optimization done (n=21): time 1.834e-06/4.59, allocations: 0 / 3.092 GB, free: 319.2 MB / 0.9405 GB Notification: Performance of matching and sorting (n=21): time 0.0004922/4.591, allocations: 185.2 kB / 3.092 GB, free: 319.2 MB / 0.9405 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/4.591, allocations: 55.34 kB / 3.092 GB, free: 319.1 MB / 0.9405 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/4.591, allocations: 150.6 kB / 3.092 GB, free: 319 MB / 0.9405 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/4.591, allocations: 29.67 kB / 3.092 GB, free: 319 MB / 0.9405 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/4.591, allocations: 145.8 kB / 3.092 GB, free: 318.8 MB / 0.9405 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/4.591, allocations: 70.92 kB / 3.092 GB, free: 318.8 MB / 0.9405 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/4.591, allocations: 0 / 3.092 GB, free: 318.8 MB / 0.9405 GB Notification: Performance of setup shared object (initialization): time 5.197e-05/4.591, allocations: 325.2 kB / 3.093 GB, free: 318.5 MB / 0.9405 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.562e-05/4.591, allocations: 68.11 kB / 3.093 GB, free: 318.5 MB / 0.9405 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/4.591, allocations: 156.1 kB / 3.093 GB, free: 318.4 MB / 0.9405 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/4.591, allocations: 94.45 kB / 3.093 GB, free: 318.4 MB / 0.9405 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/4.591, allocations: 0 / 3.093 GB, free: 318.4 MB / 0.9405 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004099/4.592, allocations: 254.4 kB / 3.093 GB, free: 318.3 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/4.592, allocations: 5.688 kB / 3.093 GB, free: 318.3 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/4.592, allocations: 3.938 kB / 3.093 GB, free: 318.3 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/4.592, allocations: 6.219 kB / 3.093 GB, free: 318.3 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/4.592, allocations: 62.58 kB / 3.093 GB, free: 318.3 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/4.592, allocations: 10.88 kB / 3.093 GB, free: 318.3 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/4.592, allocations: 22.41 kB / 3.093 GB, free: 318.3 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/4.592, allocations: 19.39 kB / 3.093 GB, free: 318.3 MB / 0.9405 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.939e-05/4.593, allocations: 110.2 kB / 3.093 GB, free: 318.2 MB / 0.9405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/4.593, allocations: 16.31 kB / 3.093 GB, free: 318.2 MB / 0.9405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/4.593, allocations: 227.5 kB / 3.094 GB, free: 318.2 MB / 0.9405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/4.593, allocations: 3.969 kB / 3.094 GB, free: 318.2 MB / 0.9405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/4.593, allocations: 0 / 3.094 GB, free: 318.2 MB / 0.9405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/4.593, allocations: 3.938 kB / 3.094 GB, free: 318.2 MB / 0.9405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/4.594, allocations: 499.3 kB / 3.094 GB, free: 317.9 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/4.594, allocations: 5.188 kB / 3.094 GB, free: 317.9 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/4.594, allocations: 29.3 kB / 3.094 GB, free: 317.9 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/4.594, allocations: 3.5 kB / 3.094 GB, free: 317.9 MB / 0.9405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/4.594, allocations: 2.406 kB / 3.094 GB, free: 317.9 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/4.594, allocations: 1.125 kB / 3.094 GB, free: 317.9 MB / 0.9405 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/4.594, allocations: 1.125 kB / 3.094 GB, free: 317.9 MB / 0.9405 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000373/4.594, allocations: 324.5 kB / 3.094 GB, free: 317.7 MB / 0.9405 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005188/4.595, allocations: 0.7186 MB / 3.095 GB, free: 317.1 MB / 0.9405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/4.595, allocations: 117 kB / 3.095 GB, free: 317 MB / 0.9405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/4.595, allocations: 2.328 kB / 3.095 GB, free: 317 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/4.595, allocations: 7.953 kB / 3.095 GB, free: 317 MB / 0.9405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/4.595, allocations: 14.89 kB / 3.095 GB, free: 317 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/4.595, allocations: 9 kB / 3.095 GB, free: 317 MB / 0.9405 GB Notification: Performance of sort global known variables: time 6.226e-05/4.595, allocations: 114.3 kB / 3.095 GB, free: 316.9 MB / 0.9405 GB Notification: Performance of remove unused functions: time 0.001242/4.597, allocations: 200.3 kB / 3.096 GB, free: 316.9 MB / 0.9405 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.001031/4.598, allocations: 0.7297 MB / 3.096 GB, free: 316.8 MB / 0.9405 GB Notification: Performance of simCode: created initialization part: time 0.0003137/4.598, allocations: 179.5 kB / 3.096 GB, free: 316.8 MB / 0.9405 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/4.598, allocations: 0 / 3.096 GB, free: 316.8 MB / 0.9405 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/4.598, allocations: 82.47 kB / 3.097 GB, free: 316.8 MB / 0.9405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/4.598, allocations: 49.23 kB / 3.097 GB, free: 316.8 MB / 0.9405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/4.599, allocations: 231.2 kB / 3.097 GB, free: 316.6 MB / 0.9405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/4.599, allocations: 0.7675 MB / 3.098 GB, free: 315.9 MB / 0.9405 GB Notification: Performance of SimCode: time 2.5e-07/4.599, allocations: 0 / 3.098 GB, free: 315.9 MB / 0.9405 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1)