Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.344/2.344, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001645/0.001644, allocations: 199.6 kB / 360.3 MB, free: 7.535 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.745/1.745, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001258/0.001258, allocations: 99.47 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2781/0.2794, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.8602, allocations: 115.2 MB / 0.9627 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2359/1.096, allocations: 145.3 MB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/1.097, allocations: 80.94 kB / 1.105 GB, free: 11.43 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.1332/1.23, allocations: 26.47 MB / 1.131 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.609e-05/1.23, allocations: 10 kB / 1.131 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006678/1.231, allocations: 110.7 kB / 1.131 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03341/1.264, allocations: 9.441 MB / 1.14 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003641/1.265, allocations: 57.97 kB / 1.14 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/1.265, allocations: 40 kB / 1.14 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002042/1.267, allocations: 0.5569 MB / 1.141 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/1.269, allocations: 0.6662 MB / 1.141 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/1.269, allocations: 0 / 1.141 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/1.269, allocations: 3.906 kB / 1.141 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/1.269, allocations: 23.98 kB / 1.141 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007099/1.276, allocations: 2.356 MB / 1.144 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007107/1.283, allocations: 0.9885 MB / 1.145 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009991/1.284, allocations: 311.4 kB / 1.145 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/1.285, allocations: 23.97 kB / 1.145 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/1.285, allocations: 47.88 kB / 1.145 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=80): time 3.988e-06/1.285, allocations: 0 / 1.145 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of matching and sorting (n=80): time 0.002517/1.287, allocations: 0.6349 MB / 1.145 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.87e-05/1.287, allocations: 136.5 kB / 1.146 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/1.288, allocations: 474.4 kB / 1.146 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/1.289, allocations: 25.7 kB / 1.146 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/1.289, allocations: 268.5 kB / 1.146 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003627/1.289, allocations: 252 kB / 1.147 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/1.289, allocations: 0 / 1.147 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002163/1.29, allocations: 374.8 kB / 1.147 GB, free: 176 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007076/1.29, allocations: 209.3 kB / 1.147 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007795/1.291, allocations: 292.1 kB / 1.147 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/1.292, allocations: 254.7 kB / 1.148 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.292, allocations: 0 / 1.148 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002318/1.294, allocations: 0.6349 MB / 1.148 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/1.294, allocations: 4 kB / 1.148 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.295, allocations: 0 / 1.148 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/1.295, allocations: 9.406 kB / 1.148 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/1.296, allocations: 155.8 kB / 1.148 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/1.296, allocations: 7.984 kB / 1.148 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/1.298, allocations: 47.5 kB / 1.149 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/1.298, allocations: 35.97 kB / 1.149 GB, free: 14.52 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.0002412/1.298, allocations: 116.5 kB / 1.149 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/1.298, allocations: 75.16 kB / 1.149 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/1.302, allocations: 1.044 MB / 1.15 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/1.302, allocations: 13.81 kB / 1.15 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.302, allocations: 0 / 1.15 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/1.302, allocations: 7.969 kB / 1.15 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/1.305, allocations: 0.9028 MB / 1.151 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/1.305, allocations: 0 / 1.151 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/1.307, allocations: 211.7 kB / 1.151 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.019e-05/1.307, allocations: 4 kB / 1.151 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.768e-05/1.307, allocations: 15.98 kB / 1.151 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/1.307, allocations: 4 kB / 1.151 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.307, allocations: 4 kB / 1.151 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00275/1.31, allocations: 1.161 MB / 1.152 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002756/1.312, allocations: 1.558 MB / 1.154 GB, free: 9.281 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007082/1.313, allocations: 299.6 kB / 1.154 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/1.313, allocations: 1.625 kB / 1.154 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/1.315, allocations: 27.88 kB / 1.154 GB, free: 8.941 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/1.315, allocations: 71.88 kB / 1.154 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/1.315, allocations: 35.98 kB / 1.154 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.000882/1.316, allocations: 407.2 kB / 1.154 GB, free: 8.438 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002462/1.318, allocations: 319.3 kB / 1.155 GB, free: 8.125 MB / 0.7605 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.001378/1.32, allocations: 432.5 kB / 1.155 GB, free: 7.77 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002037/1.322, allocations: 0.6159 MB / 1.156 GB, free: 7.156 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.322, allocations: 0 / 1.156 GB, free: 7.156 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.323, allocations: 419.6 kB / 1.156 GB, free: 6.746 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007539/1.324, allocations: 37.09 kB / 1.156 GB, free: 6.715 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004465/1.328, allocations: 1.164 MB / 1.157 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001701/1.33, allocations: 1.137 MB / 1.158 GB, free: 4.348 MB / 0.7605 GB Notification: Performance of SimCode: time 1.984e-06/1.33, allocations: 3.938 kB / 1.158 GB, free: 4.344 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)