Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.226/1.226, allocations: 249.4 MB / 256.7 MB, free: 6.922 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.001019/0.001019, allocations: 184.5 kB / 316 MB, free: 3.551 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.132/1.132, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0007721/0.0007721, allocations: 94.39 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3396/0.3404, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.5057, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4788/0.9845, allocations: 140.4 MB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.9848, allocations: 84.38 kB / 1.022 GB, free: 14.16 MB / 0.6511 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.07424/1.059, allocations: 26.61 MB / 1.048 GB, free: 8.363 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/1.059, allocations: 11.98 kB / 1.048 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/1.059, allocations: 106.7 kB / 1.048 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01895/1.078, allocations: 9.451 MB / 1.057 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008564/1.079, allocations: 416.7 kB / 1.058 GB, free: 0.5898 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003426/1.079, allocations: 44 kB / 1.058 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001621/1.081, allocations: 0.5819 MB / 1.058 GB, free: 208 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/1.083, allocations: 0.6853 MB / 1.059 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/1.083, allocations: 0 / 1.059 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.889e-05/1.083, allocations: 4 kB / 1.059 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/1.083, allocations: 16 kB / 1.059 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004896/1.088, allocations: 2.49 MB / 1.061 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003582/1.091, allocations: 0.9982 MB / 1.062 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/1.092, allocations: 328 kB / 1.063 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.757e-05/1.092, allocations: 27.83 kB / 1.063 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/1.092, allocations: 52.73 kB / 1.063 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 2.424e-06/1.092, allocations: 0 / 1.063 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.001353/1.093, allocations: 0.6474 MB / 1.063 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/1.093, allocations: 140.5 kB / 1.063 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006563/1.094, allocations: 468.3 kB / 1.064 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/1.094, allocations: 29.7 kB / 1.064 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/1.094, allocations: 259.1 kB / 1.064 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/1.094, allocations: 259.4 kB / 1.064 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/1.094, allocations: 0 / 1.064 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.095, allocations: 378 kB / 1.065 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/1.095, allocations: 226.3 kB / 1.065 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/1.095, allocations: 295.9 kB / 1.065 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/1.096, allocations: 247.9 kB / 1.066 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.096, allocations: 0 / 1.066 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001107/1.097, allocations: 0.6438 MB / 1.066 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.097, allocations: 8 kB / 1.066 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.097, allocations: 0 / 1.066 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/1.097, allocations: 4 kB / 1.066 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.098, allocations: 202.4 kB / 1.066 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/1.098, allocations: 11.94 kB / 1.066 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/1.099, allocations: 83.47 kB / 1.066 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.925e-05/1.099, allocations: 39.08 kB / 1.067 GB, free: 9.73 MB / 0.6823 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.0001577/1.1, allocations: 108.9 kB / 1.067 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/1.1, allocations: 75.06 kB / 1.067 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/1.102, allocations: 1.058 MB / 1.068 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/1.102, allocations: 12 kB / 1.068 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/1.102, allocations: 0 / 1.068 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/1.102, allocations: 11.95 kB / 1.068 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/1.104, allocations: 0.9245 MB / 1.069 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.104, allocations: 4 kB / 1.069 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/1.105, allocations: 257.8 kB / 1.069 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.579e-05/1.105, allocations: 4 kB / 1.069 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/1.105, allocations: 18.36 kB / 1.069 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/1.105, allocations: 4 kB / 1.069 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/1.105, allocations: 11.92 kB / 1.069 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002021/1.107, allocations: 1.167 MB / 1.07 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001849/1.109, allocations: 1.568 MB / 1.072 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006179/1.11, allocations: 297 kB / 1.072 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/1.11, allocations: 3.938 kB / 1.072 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/1.111, allocations: 59.94 kB / 1.072 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/1.111, allocations: 87.33 kB / 1.072 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-05/1.111, allocations: 35.55 kB / 1.072 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007017/1.112, allocations: 407.9 kB / 1.072 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002044/1.114, allocations: 309.8 kB / 1.073 GB, free: 4.477 MB / 0.6823 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.001258/1.115, allocations: 420.9 kB / 1.073 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001225/1.117, allocations: 0.6405 MB / 1.074 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.117, allocations: 0 / 1.074 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007609/1.118, allocations: 459 kB / 1.074 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/1.118, allocations: 41.91 kB / 1.074 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/1.121, allocations: 1.17 MB / 1.075 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.122, allocations: 1.152 MB / 1.077 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of SimCode: time 6.01e-07/1.122, allocations: 0 / 1.077 GB, free: 1.191 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1)