Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [: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 1.6.0+build.1/package.mo): time 0.5117/0.5117, allocations: 94.73 MB / 102 MB, free: 10.34 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001189/0.001189, allocations: 179.9 kB / 125.3 MB, free: 11.96 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.277/1.277, allocations: 170.5 MB / 319 MB, free: 9.465 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001946/0.001945, allocations: 114.8 kB / 381 MB, free: 18.17 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.105e-05/1.116e-05, allocations: 4 kB / 448.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1598, allocations: 61.52 MB / 0.4981 GB, free: 4.504 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.862/10.02, allocations: 4.477 GB / 4.975 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/10.02, allocations: 87 kB / 4.975 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1153/10.14, allocations: 63.25 MB / 5.037 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.032e-05/10.14, allocations: 23.94 kB / 5.037 GB, free: 106.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.001647/10.14, allocations: 1.226 MB / 5.038 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/10.14, allocations: 9.031 kB / 5.038 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005173/10.14, allocations: 126.8 kB / 5.038 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/10.14, allocations: 0.5179 MB / 5.039 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/10.14, allocations: 25.03 kB / 5.039 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.572e-05/10.14, allocations: 47.94 kB / 5.039 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001218/10.14, allocations: 0.9367 MB / 5.04 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009071/10.14, allocations: 0.6616 MB / 5.04 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/10.14, allocations: 0 / 5.04 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/10.14, allocations: 4 kB / 5.04 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/10.14, allocations: 16 kB / 5.04 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002865/10.15, allocations: 2.059 MB / 5.042 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007373/10.15, allocations: 0.5894 MB / 5.043 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/10.15, allocations: 238.6 kB / 5.043 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/10.15, allocations: 2.024 MB / 5.045 GB, free: 97.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004318/10.15, allocations: 363.7 kB / 5.045 GB, free: 97.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 2.825e-06/10.15, allocations: 0 / 5.045 GB, free: 97.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70): time 0.00204/10.15, allocations: 0.7068 MB / 5.046 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/10.15, allocations: 248 kB / 5.046 GB, free: 96.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/10.15, allocations: 409.1 kB / 5.047 GB, free: 95.96 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/10.15, allocations: 29.7 kB / 5.047 GB, free: 95.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/10.15, allocations: 269.2 kB / 5.047 GB, free: 95.65 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/10.15, allocations: 220.7 kB / 5.047 GB, free: 95.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/10.15, allocations: 4 kB / 5.047 GB, free: 95.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.1e-05/10.15, allocations: 362.7 kB / 5.048 GB, free: 95.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/10.15, allocations: 196.9 kB / 5.048 GB, free: 94.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/10.15, allocations: 267.8 kB / 5.048 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000981/10.15, allocations: 331 kB / 5.048 GB, free: 94.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/10.15, allocations: 0 / 5.048 GB, free: 94.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001903/10.15, allocations: 0.7577 MB / 5.049 GB, free: 93.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/10.15, allocations: 9.719 kB / 5.049 GB, free: 93.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/10.16, allocations: 4.062 kB / 5.049 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005546/10.16, allocations: 76.78 kB / 5.049 GB, free: 93.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/10.16, allocations: 107.8 kB / 5.049 GB, free: 93.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/10.16, allocations: 1.355 MB / 5.051 GB, free: 91.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/10.16, allocations: 47.58 kB / 5.051 GB, free: 91.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/10.16, allocations: 31.98 kB / 5.051 GB, free: 91.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 7 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001558/10.16, allocations: 202 kB / 5.051 GB, free: 91.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/10.16, allocations: 63.34 kB / 5.051 GB, free: 91.47 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/10.16, allocations: 0.9866 MB / 5.052 GB, free: 90.49 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/10.16, allocations: 12 kB / 5.052 GB, free: 90.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/10.16, allocations: 0 / 5.052 GB, free: 90.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/10.16, allocations: 3.984 kB / 5.052 GB, free: 90.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006771/10.16, allocations: 0.6501 MB / 5.053 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/10.16, allocations: 0 / 5.053 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/10.16, allocations: 115.8 kB / 5.053 GB, free: 89.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004661/10.16, allocations: 76.78 kB / 5.053 GB, free: 89.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/10.16, allocations: 23.89 kB / 5.053 GB, free: 89.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/10.16, allocations: 1.375 MB / 5.054 GB, free: 88.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/10.16, allocations: 4 kB / 5.054 GB, free: 88.06 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001865/10.17, allocations: 0.8273 MB / 5.055 GB, free: 87.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/10.17, allocations: 268 kB / 5.055 GB, free: 86.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/10.17, allocations: 11.98 kB / 5.055 GB, free: 86.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/10.17, allocations: 27.98 kB / 5.055 GB, free: 86.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/10.17, allocations: 44.58 kB / 5.055 GB, free: 86.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/10.17, allocations: 35.98 kB / 5.055 GB, free: 86.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.000282/10.17, allocations: 323.2 kB / 5.056 GB, free: 86.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008988/10.17, allocations: 351 kB / 5.056 GB, free: 86.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001215/10.17, allocations: 0.6269 MB / 5.057 GB, free: 85.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009577/10.17, allocations: 0.8249 MB / 5.057 GB, free: 84.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/10.17, allocations: 0 / 5.057 GB, free: 84.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005716/10.17, allocations: 0.5262 MB / 5.058 GB, free: 84.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006457/10.17, allocations: 148.2 kB / 5.058 GB, free: 84.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/10.17, allocations: 1.026 MB / 5.059 GB, free: 83.03 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005947/10.17, allocations: 1.073 MB / 5.06 GB, free: 81.93 MB / 0.5261 GB Notification: Performance of SimCode: time 6.32e-07/10.17, allocations: 3.938 kB / 5.06 GB, free: 81.93 MB / 0.5261 GB Notification: Performance of Templates: time 0.01826/10.19, allocations: 12.4 MB / 5.072 GB, free: 69.64 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)