Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.234/1.234, allocations: 249.4 MB / 256.7 MB, free: 7.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 192.6 kB / 316 MB, free: 3.598 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.097/1.097, allocations: 205.2 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007908/0.0007908, allocations: 85.66 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3283/0.3292, allocations: 112.5 MB / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.4986, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.104/4.602, allocations: 2.205 GB / 3.09 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/4.603, allocations: 71.97 kB / 3.09 GB, free: 199.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0974/4.7, allocations: 50.62 MB / 3.139 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/4.7, allocations: 8 kB / 3.139 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/4.701, allocations: 151.5 kB / 3.139 GB, free: 148 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/4.702, allocations: 222.7 kB / 3.14 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/4.702, allocations: 8 kB / 3.14 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/4.702, allocations: 15.94 kB / 3.14 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000436/4.702, allocations: 316.7 kB / 3.14 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/4.702, allocations: 290.6 kB / 3.14 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/4.703, allocations: 4 kB / 3.14 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/4.703, allocations: 0 / 3.14 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/4.703, allocations: 16.36 kB / 3.14 GB, free: 147 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/4.704, allocations: 1.139 MB / 3.141 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/4.704, allocations: 178.6 kB / 3.142 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/4.704, allocations: 84.77 kB / 3.142 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003344/4.705, allocations: 356.4 kB / 3.142 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/4.705, allocations: 38.56 kB / 3.142 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/4.705, allocations: 0 / 3.142 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0004299/4.705, allocations: 173.4 kB / 3.142 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/4.705, allocations: 51.41 kB / 3.142 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/4.705, allocations: 159.5 kB / 3.142 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/4.705, allocations: 25.7 kB / 3.142 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/4.705, allocations: 151.8 kB / 3.143 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/4.705, allocations: 67 kB / 3.143 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/4.706, allocations: 0 / 3.143 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.776e-05/4.706, allocations: 326.8 kB / 3.143 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.787e-05/4.706, allocations: 64.25 kB / 3.143 GB, free: 144 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/4.706, allocations: 164.4 kB / 3.143 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/4.706, allocations: 84.69 kB / 3.143 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/4.706, allocations: 0 / 3.143 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003769/4.706, allocations: 256.1 kB / 3.143 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/4.706, allocations: 8 kB / 3.143 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/4.706, allocations: 112 / 3.143 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/4.706, allocations: 11.94 kB / 3.143 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/4.707, allocations: 59.91 kB / 3.144 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/4.707, allocations: 11.84 kB / 3.144 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/4.707, allocations: 28.09 kB / 3.144 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/4.707, allocations: 12 kB / 3.144 GB, free: 143.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.587e-05/4.707, allocations: 112.9 kB / 3.144 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/4.707, allocations: 19.81 kB / 3.144 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/4.707, allocations: 218.3 kB / 3.144 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/4.708, allocations: 0 / 3.144 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/4.708, allocations: 0 / 3.144 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/4.708, allocations: 4 kB / 3.144 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/4.708, allocations: 487.5 kB / 3.144 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/4.708, allocations: 4 kB / 3.144 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/4.708, allocations: 27.98 kB / 3.144 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/4.708, allocations: 0 / 3.144 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/4.708, allocations: 7.938 kB / 3.144 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/4.708, allocations: 0 / 3.144 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/4.708, allocations: 4 kB / 3.144 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003003/4.709, allocations: 299.8 kB / 3.145 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004261/4.709, allocations: 0.6889 MB / 3.145 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.453e-05/4.709, allocations: 120.8 kB / 3.146 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/4.709, allocations: 4 kB / 3.146 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/4.709, allocations: 7.906 kB / 3.146 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/4.709, allocations: 11.98 kB / 3.146 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/4.709, allocations: 11.98 kB / 3.146 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.71e-05/4.71, allocations: 121.4 kB / 3.146 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001145/4.711, allocations: 203.8 kB / 3.146 GB, free: 140.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.000782/4.711, allocations: 0.7266 MB / 3.147 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002539/4.712, allocations: 176.4 kB / 3.147 GB, free: 140 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/4.712, allocations: 0 / 3.147 GB, free: 140 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.571e-05/4.712, allocations: 79.42 kB / 3.147 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/4.712, allocations: 47.78 kB / 3.147 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/4.713, allocations: 226.1 kB / 3.147 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/4.713, allocations: 0.7661 MB / 3.148 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/4.713, allocations: 4 kB / 3.148 GB, free: 138.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1)