Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.248/2.248, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001646/0.001646, allocations: 177.2 kB / 360.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00125/0.001249, allocations: 84.98 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.089e-05/1.1e-05, allocations: 4 kB / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5987/0.5987, allocations: 115.2 MB / 0.9628 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2131/0.8118, allocations: 137.3 MB / 1.097 GB, free: 3.508 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.8122, allocations: 76.61 kB / 1.097 GB, free: 3.434 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003044/0.8153, allocations: 0.6084 MB / 1.098 GB, free: 2.852 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.8153, allocations: 4 kB / 1.098 GB, free: 2.848 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003496/0.8157, allocations: 340.2 kB / 1.098 GB, free: 2.477 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.8157, allocations: 8.031 kB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.8158, allocations: 7.906 kB / 1.098 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.816, allocations: 186.9 kB / 1.098 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.8161, allocations: 0.5625 kB / 1.098 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.8161, allocations: 4.594 kB / 1.098 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001437/0.8162, allocations: 35.98 kB / 1.098 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.8164, allocations: 90.48 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8165, allocations: 0.5 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.8165, allocations: 0.5 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.8165, allocations: 4 kB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.8172, allocations: 0.612 MB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.034e-05/0.8173, allocations: 166.3 kB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.8173, allocations: 85.83 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.8174, allocations: 75.28 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.8174, allocations: 110.4 kB / 1.099 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.054e-06/0.8174, allocations: 0.5938 kB / 1.099 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.031e-05/0.8175, allocations: 33.64 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.8176, allocations: 59.39 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.8177, allocations: 112.2 kB / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.8178, allocations: 25.7 kB / 1.099 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.8178, allocations: 110.8 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.8178, allocations: 0.5625 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.8179, allocations: 0 / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.818, allocations: 319.6 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.818, allocations: 4.5 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.8181, allocations: 23.77 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.403e-05/0.8181, allocations: 8.875 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8181, allocations: 0.5 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000148/0.8183, allocations: 50.69 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.8183, allocations: 4 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.8183, allocations: 4.562 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8183, allocations: 0.5312 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.8184, allocations: 4 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.8184, allocations: 4.094 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.894e-05/0.8185, allocations: 4 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.8185, allocations: 0 / 1.1 GB, free: 200 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.951e-05/0.8186, allocations: 189.2 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.524e-05/0.8187, allocations: 107.3 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.652e-05/0.8188, allocations: 116.4 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.038e-05/0.8189, allocations: 180.3 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-05/0.8189, allocations: 182.5 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.12e-05/0.819, allocations: 184.1 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.8193, allocations: 401.8 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.732e-05/0.8193, allocations: 101 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.8194, allocations: 108.9 kB / 1.101 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-05/0.8194, allocations: 181.1 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.998e-05/0.8195, allocations: 180.7 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.498e-05/0.8196, allocations: 184.2 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001073/0.8197, allocations: 180.3 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001363/0.8199, allocations: 313 kB / 1.102 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.891e-05/0.82, allocations: 190 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.82, allocations: 176.3 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.8202, allocations: 108.9 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.8203, allocations: 176.3 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.8203, allocations: 107 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.254e-05/0.8204, allocations: 95.28 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003108/0.8208, allocations: 15.84 kB / 1.103 GB, free: 12.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001608/0.8209, allocations: 178.5 kB / 1.103 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.478e-05/0.821, allocations: 4 kB / 1.103 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.821, allocations: 0 / 1.103 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.821, allocations: 0 / 1.103 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.8214, allocations: 0.5265 MB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.8218, allocations: 162.7 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.8221, allocations: 0.7036 MB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.8221, allocations: 0 / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of Templates: time 0.002846/0.825, allocations: 269.4 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)