Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.078/2.078, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.00117/0.001171, allocations: 181.3 kB / 487 MB, free: 5.395 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.419/1.419, allocations: 221.3 MB / 0.7819 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009587/0.0009584, allocations: 102 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6207/0.6217, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.9239, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8219/1.746, allocations: 156.6 MB / 1.358 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/1.746, allocations: 84.75 kB / 1.358 GB, free: 15.55 MB / 0.8073 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.07845/1.825, allocations: 26.49 MB / 1.384 GB, free: 12.71 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.825, allocations: 12 kB / 1.384 GB, free: 12.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004325/1.825, allocations: 106.7 kB / 1.384 GB, free: 12.59 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/1.836, allocations: 4.151 MB / 1.388 GB, free: 9.469 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-05/1.836, allocations: 24 kB / 1.388 GB, free: 9.445 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003054/1.836, allocations: 48 kB / 1.388 GB, free: 9.398 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001741/1.838, allocations: 0.6055 MB / 1.389 GB, free: 9.031 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/1.839, allocations: 0.6901 MB / 1.39 GB, free: 8.527 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/1.84, allocations: 0 / 1.39 GB, free: 8.527 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/1.84, allocations: 0 / 1.39 GB, free: 8.527 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/1.84, allocations: 24 kB / 1.39 GB, free: 8.504 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004842/1.844, allocations: 2.504 MB / 1.392 GB, free: 6.664 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003713/1.848, allocations: 0.9698 MB / 1.393 GB, free: 5.934 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/1.849, allocations: 305.5 kB / 1.393 GB, free: 5.742 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.528e-05/1.849, allocations: 23.39 kB / 1.393 GB, free: 5.723 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/1.849, allocations: 50.19 kB / 1.393 GB, free: 5.672 MB / 0.823 GB Notification: Performance of pre-optimization done (n=80): time 2.876e-06/1.849, allocations: 4 kB / 1.393 GB, free: 5.668 MB / 0.823 GB Notification: Performance of matching and sorting (n=80): time 0.001548/1.85, allocations: 0.632 MB / 1.394 GB, free: 5.215 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/1.85, allocations: 136.5 kB / 1.394 GB, free: 5.051 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/1.851, allocations: 440.2 kB / 1.395 GB, free: 4.723 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-05/1.851, allocations: 29.7 kB / 1.395 GB, free: 4.688 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/1.851, allocations: 275.2 kB / 1.395 GB, free: 4.441 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/1.852, allocations: 258.9 kB / 1.395 GB, free: 4.215 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/1.852, allocations: 0 / 1.395 GB, free: 4.215 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.852, allocations: 373.6 kB / 1.395 GB, free: 3.867 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/1.852, allocations: 210.4 kB / 1.396 GB, free: 3.754 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/1.853, allocations: 299.1 kB / 1.396 GB, free: 3.543 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/1.853, allocations: 256.2 kB / 1.396 GB, free: 3.398 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.853, allocations: 0 / 1.396 GB, free: 3.398 MB / 0.823 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001161/1.854, allocations: 0.6453 MB / 1.397 GB, free: 2.938 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.854, allocations: 4 kB / 1.397 GB, free: 2.934 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.854, allocations: 4 kB / 1.397 GB, free: 2.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.854, allocations: 4 kB / 1.397 GB, free: 2.926 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/1.855, allocations: 154.9 kB / 1.397 GB, free: 2.781 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.855, allocations: 7.938 kB / 1.397 GB, free: 2.773 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000643/1.856, allocations: 63.39 kB / 1.397 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/1.856, allocations: 31.22 kB / 1.397 GB, free: 2.684 MB / 0.823 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.0001582/1.856, allocations: 112.9 kB / 1.397 GB, free: 2.566 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/1.856, allocations: 67.16 kB / 1.397 GB, free: 2.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/1.858, allocations: 1.022 MB / 1.398 GB, free: 1.738 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/1.858, allocations: 12 kB / 1.398 GB, free: 1.727 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.964e-06/1.858, allocations: 0 / 1.398 GB, free: 1.727 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/1.858, allocations: 7.984 kB / 1.398 GB, free: 1.719 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/1.86, allocations: 0.8654 MB / 1.399 GB, free: 1.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.86, allocations: 8 kB / 1.399 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009157/1.861, allocations: 202.4 kB / 1.399 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/1.861, allocations: 4 kB / 1.399 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/1.861, allocations: 18.3 kB / 1.399 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/1.861, allocations: 8 kB / 1.399 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.861, allocations: 0 / 1.399 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001607/1.862, allocations: 1.158 MB / 1.401 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001668/1.864, allocations: 1.536 MB / 1.402 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/1.865, allocations: 288.3 kB / 1.402 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/1.865, allocations: 4 kB / 1.402 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/1.865, allocations: 7.984 kB / 1.402 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/1.865, allocations: 70.36 kB / 1.402 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/1.866, allocations: 36.3 kB / 1.402 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0005222/1.866, allocations: 361 kB / 1.403 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001746/1.868, allocations: 255.7 kB / 1.403 GB, free: 13.71 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.0006713/1.868, allocations: 300.6 kB / 1.403 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001055/1.87, allocations: 0.6235 MB / 1.404 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.87, allocations: 0 / 1.404 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005685/1.87, allocations: 415.5 kB / 1.404 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/1.871, allocations: 29.41 kB / 1.404 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/1.873, allocations: 1.141 MB / 1.405 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.874, allocations: 1.134 MB / 1.407 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/1.874, allocations: 3.938 kB / 1.407 GB, free: 10.6 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)