Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.26/2.26, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.001668/0.001668, allocations: 186.8 kB / 315.1 MB, free: 4.273 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.969/1.969, allocations: 205.2 MB / 0.5658 GB, free: 364 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 90.77 kB / 0.67 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5104/0.5118, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.7246, allocations: 106.3 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7317/1.456, allocations: 140.2 MB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/1.457, allocations: 77.08 kB / 1.021 GB, free: 15.75 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.1377/1.595, allocations: 26.61 MB / 1.046 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.595, allocations: 12 kB / 1.047 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004556/1.595, allocations: 110.7 kB / 1.047 GB, free: 9.84 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04015/1.635, allocations: 9.446 MB / 1.056 GB, free: 2.66 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002134/1.638, allocations: 417.4 kB / 1.056 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004956/1.638, allocations: 48 kB / 1.056 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003632/1.642, allocations: 0.5771 MB / 1.057 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003351/1.645, allocations: 0.6901 MB / 1.058 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/1.645, allocations: 3.984 kB / 1.058 GB, free: 1.285 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/1.645, allocations: 0 / 1.058 GB, free: 1.285 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.763e-05/1.646, allocations: 20 kB / 1.058 GB, free: 1.266 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01404/1.66, allocations: 2.473 MB / 1.06 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/1.67, allocations: 1.01 MB / 1.061 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/1.672, allocations: 333.6 kB / 1.061 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/1.672, allocations: 31.41 kB / 1.061 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/1.672, allocations: 45.88 kB / 1.061 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 3.897e-06/1.672, allocations: 0 / 1.061 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.002506/1.675, allocations: 0.6515 MB / 1.062 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/1.675, allocations: 136.5 kB / 1.062 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/1.676, allocations: 470.7 kB / 1.063 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002144/1.677, allocations: 25.7 kB / 1.063 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/1.677, allocations: 267.3 kB / 1.063 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004136/1.677, allocations: 250.8 kB / 1.063 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/1.677, allocations: 0 / 1.063 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000234/1.678, allocations: 378.8 kB / 1.063 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000732/1.678, allocations: 215.5 kB / 1.064 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008034/1.679, allocations: 310 kB / 1.064 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007981/1.68, allocations: 247.5 kB / 1.064 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.68, allocations: 0 / 1.064 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00209/1.682, allocations: 0.6495 MB / 1.065 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/1.682, allocations: 4 kB / 1.065 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.682, allocations: 3.938 kB / 1.065 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/1.682, allocations: 8 kB / 1.065 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/1.685, allocations: 202.6 kB / 1.065 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/1.685, allocations: 4 kB / 1.065 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.687, allocations: 87.45 kB / 1.065 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.687, allocations: 34.66 kB / 1.065 GB, free: 11.32 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.0002554/1.687, allocations: 112.9 kB / 1.065 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/1.687, allocations: 75.05 kB / 1.065 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004024/1.691, allocations: 1.059 MB / 1.066 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/1.691, allocations: 16 kB / 1.066 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.691, allocations: 0 / 1.066 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/1.691, allocations: 7.984 kB / 1.066 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/1.694, allocations: 0.9159 MB / 1.067 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/1.694, allocations: 0 / 1.067 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00289/1.697, allocations: 255.3 kB / 1.068 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.7e-05/1.697, allocations: 4 kB / 1.068 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001867/1.697, allocations: 19.84 kB / 1.068 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/1.698, allocations: 8 kB / 1.068 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/1.698, allocations: 0 / 1.068 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002785/1.7, allocations: 1.175 MB / 1.069 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002868/1.703, allocations: 1.56 MB / 1.07 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008859/1.704, allocations: 303.3 kB / 1.07 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/1.704, allocations: 4 kB / 1.071 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/1.707, allocations: 55.92 kB / 1.071 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/1.707, allocations: 88.89 kB / 1.071 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/1.707, allocations: 34.86 kB / 1.071 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0009909/1.708, allocations: 417.2 kB / 1.071 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002658/1.711, allocations: 308.9 kB / 1.071 GB, free: 6.066 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.001538/1.712, allocations: 411.2 kB / 1.072 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002175/1.715, allocations: 0.6472 MB / 1.072 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.715, allocations: 0 / 1.072 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/1.716, allocations: 454.3 kB / 1.073 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008462/1.717, allocations: 53.72 kB / 1.073 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/1.722, allocations: 1.171 MB / 1.074 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/1.724, allocations: 1.146 MB / 1.075 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of SimCode: time 2.154e-06/1.724, allocations: 0 / 1.075 GB, free: 2.781 MB / 0.6823 GB