Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.15/2.15, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001283/0.001283, allocations: 187.8 kB / 490.8 MB, free: 1.969 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.514/1.514, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 83.62 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5617/0.5627, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.8237, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7341/1.558, allocations: 157.4 MB / 1.365 GB, free: 17.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/1.558, allocations: 80.12 kB / 1.365 GB, free: 17.07 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.07535/1.634, allocations: 26.5 MB / 1.391 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.634, allocations: 10 kB / 1.391 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000381/1.634, allocations: 109.5 kB / 1.391 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009033/1.643, allocations: 4.169 MB / 1.395 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/1.643, allocations: 30.77 kB / 1.395 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/1.643, allocations: 45.72 kB / 1.396 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001433/1.645, allocations: 0.5898 MB / 1.396 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/1.646, allocations: 0.6969 MB / 1.397 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/1.646, allocations: 3.984 kB / 1.397 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.323e-05/1.646, allocations: 5.219 kB / 1.397 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/1.646, allocations: 18.12 kB / 1.397 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004614/1.651, allocations: 2.483 MB / 1.399 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003673/1.655, allocations: 0.9729 MB / 1.4 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/1.655, allocations: 312.3 kB / 1.4 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.142e-05/1.655, allocations: 25.3 kB / 1.401 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/1.655, allocations: 60.56 kB / 1.401 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=80): time 3.607e-06/1.655, allocations: 0 / 1.401 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=80): time 0.001746/1.657, allocations: 0.6287 MB / 1.401 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/1.657, allocations: 136.7 kB / 1.401 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007989/1.658, allocations: 445.6 kB / 1.402 GB, free: 23.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.696e-05/1.658, allocations: 26.36 kB / 1.402 GB, free: 23.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/1.658, allocations: 272.7 kB / 1.402 GB, free: 23.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/1.658, allocations: 261.1 kB / 1.402 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/1.658, allocations: 0 / 1.402 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000195/1.659, allocations: 372.8 kB / 1.403 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/1.659, allocations: 208.2 kB / 1.403 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/1.66, allocations: 296.7 kB / 1.403 GB, free: 22.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/1.66, allocations: 261.3 kB / 1.403 GB, free: 22.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.66, allocations: 0 / 1.403 GB, free: 22.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001499/1.662, allocations: 0.6403 MB / 1.404 GB, free: 22.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.662, allocations: 5.156 kB / 1.404 GB, free: 22.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/1.662, allocations: 0.9688 kB / 1.404 GB, free: 22.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/1.662, allocations: 3.969 kB / 1.404 GB, free: 22.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000898/1.663, allocations: 152.1 kB / 1.404 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/1.663, allocations: 7.969 kB / 1.404 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007635/1.664, allocations: 64.86 kB / 1.404 GB, free: 22.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.295e-05/1.664, allocations: 33.34 kB / 1.404 GB, free: 22.24 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (winNor.proShaLen.solAzi.outsidePolarCircle,winWes.proShaLen.solAzi.outsidePolarCircle,winSou.proShaLen.solAzi.outsidePolarCircle,winEas.proShaLen.solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.0001556/1.664, allocations: 114.5 kB / 1.404 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/1.664, allocations: 68.12 kB / 1.404 GB, free: 22.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/1.666, allocations: 1.02 MB / 1.405 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.666, allocations: 16 kB / 1.405 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.666, allocations: 3.938 kB / 1.405 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/1.666, allocations: 3.984 kB / 1.405 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/1.667, allocations: 0.8656 MB / 1.406 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.667, allocations: 0 / 1.406 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008746/1.668, allocations: 202 kB / 1.406 GB, free: 20.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/1.668, allocations: 11.94 kB / 1.406 GB, free: 20.47 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-05/1.668, allocations: 14.86 kB / 1.407 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/1.668, allocations: 11.94 kB / 1.407 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/1.668, allocations: 4 kB / 1.407 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001422/1.67, allocations: 1.147 MB / 1.408 GB, free: 19.5 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001479/1.671, allocations: 1.546 MB / 1.409 GB, free: 18.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/1.672, allocations: 283.8 kB / 1.409 GB, free: 17.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/1.672, allocations: 4 kB / 1.409 GB, free: 17.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006362/1.672, allocations: 11.98 kB / 1.409 GB, free: 17.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/1.672, allocations: 65.92 kB / 1.41 GB, free: 17.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/1.672, allocations: 37.73 kB / 1.41 GB, free: 17.81 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0004265/1.673, allocations: 359.4 kB / 1.41 GB, free: 17.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001644/1.675, allocations: 254.3 kB / 1.41 GB, free: 17.33 MB / 0.8386 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.0006806/1.675, allocations: 292.2 kB / 1.41 GB, free: 17.08 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001002/1.676, allocations: 0.6229 MB / 1.411 GB, free: 16.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.676, allocations: 0 / 1.411 GB, free: 16.66 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004839/1.677, allocations: 416.2 kB / 1.411 GB, free: 16.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/1.677, allocations: 36.14 kB / 1.411 GB, free: 16.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/1.68, allocations: 1.14 MB / 1.413 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008221/1.68, allocations: 1.138 MB / 1.414 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.68, allocations: 0 / 1.414 GB, free: 14.23 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)