Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",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.1.4-maint.8.1.x/package.mo): time 1.577/1.577, allocations: 289.8 MB / 297.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001345, allocations: 177.3 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.1 MB / 0.6256 GB, free: 5.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 86.7 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2999/0.3009, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8169/1.118, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2109/1.329, allocations: 146.5 MB / 1.116 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/1.329, allocations: 88.89 kB / 1.116 GB, free: 1.867 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.08597/1.415, allocations: 26.46 MB / 1.142 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/1.415, allocations: 8 kB / 1.142 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005288/1.416, allocations: 106.7 kB / 1.142 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02367/1.439, allocations: 9.461 MB / 1.151 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003536/1.44, allocations: 41.98 kB / 1.151 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000468/1.44, allocations: 44 kB / 1.151 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002526/1.443, allocations: 0.5623 MB / 1.152 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/1.445, allocations: 0.6584 MB / 1.152 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/1.445, allocations: 0 / 1.152 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.744e-05/1.446, allocations: 7.906 kB / 1.152 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/1.446, allocations: 19.98 kB / 1.152 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006546/1.452, allocations: 2.358 MB / 1.155 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004146/1.456, allocations: 0.9876 MB / 1.156 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006585/1.457, allocations: 307.4 kB / 1.156 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.72e-05/1.457, allocations: 31.89 kB / 1.156 GB, free: 8.621 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/1.457, allocations: 42.56 kB / 1.156 GB, free: 8.57 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=80): time 5.26e-06/1.457, allocations: 0 / 1.156 GB, free: 8.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=80): time 0.001755/1.459, allocations: 0.6395 MB / 1.157 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/1.459, allocations: 140.5 kB / 1.157 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009011/1.46, allocations: 466.4 kB / 1.157 GB, free: 7.301 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.579e-05/1.46, allocations: 25.7 kB / 1.157 GB, free: 7.27 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/1.46, allocations: 268.5 kB / 1.157 GB, free: 7 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/1.46, allocations: 248 kB / 1.158 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/1.461, allocations: 4 kB / 1.158 GB, free: 6.75 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002217/1.461, allocations: 378.8 kB / 1.158 GB, free: 6.371 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/1.461, allocations: 209.3 kB / 1.158 GB, free: 6.168 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/1.462, allocations: 288 kB / 1.158 GB, free: 5.863 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005909/1.462, allocations: 250.6 kB / 1.159 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.462, allocations: 0 / 1.159 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001294/1.464, allocations: 0.6384 MB / 1.159 GB, free: 4.98 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.464, allocations: 11.98 kB / 1.159 GB, free: 4.969 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.464, allocations: 3.938 kB / 1.159 GB, free: 4.965 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/1.464, allocations: 4.047 kB / 1.159 GB, free: 4.961 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000896/1.464, allocations: 163.7 kB / 1.159 GB, free: 4.801 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/1.465, allocations: 4 kB / 1.159 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007439/1.465, allocations: 51.5 kB / 1.16 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/1.465, allocations: 35.91 kB / 1.16 GB, free: 4.711 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002435/1.466, allocations: 112.8 kB / 1.16 GB, free: 4.594 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/1.466, allocations: 71.16 kB / 1.16 GB, free: 4.523 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/1.468, allocations: 1.036 MB / 1.161 GB, free: 3.48 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/1.468, allocations: 19.98 kB / 1.161 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/1.468, allocations: 0 / 1.161 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/1.468, allocations: 7.969 kB / 1.161 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/1.47, allocations: 0.895 MB / 1.162 GB, free: 2.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/1.47, allocations: 0 / 1.162 GB, free: 2.52 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/1.471, allocations: 207.7 kB / 1.162 GB, free: 2.316 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.821e-05/1.471, allocations: 4 kB / 1.162 GB, free: 2.312 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.712e-05/1.471, allocations: 19.98 kB / 1.162 GB, free: 2.293 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-06/1.471, allocations: 4 kB / 1.162 GB, free: 2.289 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.471, allocations: 3.984 kB / 1.162 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001753/1.473, allocations: 1.17 MB / 1.163 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001886/1.475, allocations: 1.552 MB / 1.165 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005301/1.475, allocations: 295.7 kB / 1.165 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/1.475, allocations: 7.984 kB / 1.165 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007507/1.476, allocations: 23.88 kB / 1.165 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/1.476, allocations: 63.89 kB / 1.165 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/1.476, allocations: 35.98 kB / 1.165 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0005932/1.477, allocations: 419.1 kB / 1.165 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002099/1.479, allocations: 315.3 kB / 1.166 GB, free: 14.32 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001777/1.481, allocations: 436.4 kB / 1.166 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001359/1.482, allocations: 0.6082 MB / 1.167 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.482, allocations: 0 / 1.167 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007045/1.483, allocations: 424.6 kB / 1.167 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000633/1.484, allocations: 39.98 kB / 1.167 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/1.487, allocations: 1.161 MB / 1.168 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/1.489, allocations: 1.145 MB / 1.169 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of SimCode: time 1.923e-06/1.489, allocations: 0 / 1.169 GB, free: 10.48 MB / 0.7761 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.fmu > Buildings_8_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)