Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7271/0.7271, allocations: 141.8 MB / 149.1 MB, free: 0.9961 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 183.2 kB / 181.9 MB, free: 13.14 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 221.3 MB / 436 MB, free: 5.965 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 92.33 kB / 0.507 GB, free: 19.18 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001929/0.001929, allocations: 284.5 kB / 0.5884 GB, free: 7.062 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.262e-06, allocations: 1.5 kB / 0.6759 GB, free: 140.2 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1689, allocations: 82.78 MB / 0.7567 GB, free: 89.3 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.789/3.958, allocations: 1.69 GB / 2.447 GB, free: 8.082 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/3.959, allocations: 87.44 kB / 2.447 GB, free: 8.039 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.5146/4.473, allocations: 58.73 MB / 2.504 GB, free: 217.1 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 7.486e-05/4.473, allocations: 19.94 kB / 2.504 GB, free: 217.1 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001919/4.475, allocations: 1.135 MB / 2.505 GB, free: 216 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/4.475, allocations: 12.03 kB / 2.505 GB, free: 216 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/4.477, allocations: 250.5 kB / 2.506 GB, free: 215.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009805/4.478, allocations: 0.6183 MB / 2.506 GB, free: 215.2 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/4.478, allocations: 24 kB / 2.506 GB, free: 215.2 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.279e-05/4.478, allocations: 48 kB / 2.506 GB, free: 215.1 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001325/4.479, allocations: 1.007 MB / 2.507 GB, free: 214.3 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/4.48, allocations: 0.7612 MB / 2.508 GB, free: 213.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/4.48, allocations: 0 / 2.508 GB, free: 213.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.162e-05/4.48, allocations: 7.984 kB / 2.508 GB, free: 213.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/4.48, allocations: 20 kB / 2.508 GB, free: 213.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003533/4.484, allocations: 2.574 MB / 2.511 GB, free: 211.6 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000982/4.485, allocations: 0.7561 MB / 2.511 GB, free: 211 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/4.485, allocations: 244.1 kB / 2.512 GB, free: 210.9 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 8.455e-05/4.485, allocations: 27.77 kB / 2.512 GB, free: 210.8 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004704/4.486, allocations: 389.1 kB / 2.512 GB, free: 210.5 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=74): time 3.287e-06/4.486, allocations: 3.938 kB / 2.512 GB, free: 210.5 MB / 0.6982 GB Notification: Performance of matching and sorting (n=74): time 0.001569/4.487, allocations: 0.6306 MB / 2.513 GB, free: 210 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/4.487, allocations: 248 kB / 2.513 GB, free: 209.8 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/4.488, allocations: 0.5047 MB / 2.513 GB, free: 209.4 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/4.488, allocations: 25.7 kB / 2.513 GB, free: 209.3 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/4.488, allocations: 309.2 kB / 2.514 GB, free: 209.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/4.488, allocations: 233.9 kB / 2.514 GB, free: 208.9 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/4.488, allocations: 0 / 2.514 GB, free: 208.9 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.343e-05/4.488, allocations: 377.1 kB / 2.514 GB, free: 208.5 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/4.489, allocations: 187.7 kB / 2.514 GB, free: 208.4 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/4.489, allocations: 319.8 kB / 2.515 GB, free: 208.1 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/4.489, allocations: 242.9 kB / 2.515 GB, free: 208 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/4.489, allocations: 3.938 kB / 2.515 GB, free: 208 MB / 0.6982 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001383/4.491, allocations: 0.6658 MB / 2.516 GB, free: 207.5 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/4.491, allocations: 6.656 kB / 2.516 GB, free: 207.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/4.491, allocations: 0 / 2.516 GB, free: 207.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006446/4.492, allocations: 88.45 kB / 2.516 GB, free: 207.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/4.492, allocations: 139.7 kB / 2.516 GB, free: 207.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/4.494, allocations: 1.467 MB / 2.517 GB, free: 205.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006429/4.494, allocations: 71.52 kB / 2.517 GB, free: 205.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/4.495, allocations: 27.23 kB / 2.517 GB, free: 205.7 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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: 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 prepare postOptimizeDAE: time 0.0001628/4.495, allocations: 120.5 kB / 2.517 GB, free: 205.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/4.495, allocations: 71.16 kB / 2.518 GB, free: 205.5 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/4.497, allocations: 0.9191 MB / 2.518 GB, free: 204.8 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/4.497, allocations: 12 kB / 2.518 GB, free: 204.8 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/4.497, allocations: 3.906 kB / 2.518 GB, free: 204.7 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/4.497, allocations: 3.984 kB / 2.518 GB, free: 204.7 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002789/4.5, allocations: 1.746 MB / 2.52 GB, free: 203.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/4.5, allocations: 0 / 2.52 GB, free: 203.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/4.5, allocations: 146.2 kB / 2.52 GB, free: 203.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000524/4.501, allocations: 95.12 kB / 2.52 GB, free: 203.2 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/4.501, allocations: 13.92 kB / 2.52 GB, free: 203.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/4.502, allocations: 1.482 MB / 2.522 GB, free: 201.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/4.502, allocations: 0 / 2.522 GB, free: 201.7 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001443/4.504, allocations: 0.8237 MB / 2.523 GB, free: 201 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/4.504, allocations: 274.2 kB / 2.523 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/4.504, allocations: 144 / 2.523 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005992/4.505, allocations: 63.94 kB / 2.523 GB, free: 200.7 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/4.505, allocations: 56.22 kB / 2.523 GB, free: 200.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-05/4.505, allocations: 31.05 kB / 2.523 GB, free: 200.6 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004657/4.506, allocations: 409.6 kB / 2.523 GB, free: 200.3 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001186/4.507, allocations: 332.9 kB / 2.524 GB, free: 200.1 MB / 0.6982 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00168/4.509, allocations: 1.05 MB / 2.525 GB, free: 199.2 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001154/4.51, allocations: 0.6532 MB / 2.525 GB, free: 198.7 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/4.51, allocations: 0 / 2.525 GB, free: 198.7 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006122/4.51, allocations: 447 kB / 2.526 GB, free: 198.4 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/4.511, allocations: 217.8 kB / 2.526 GB, free: 198.2 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/4.515, allocations: 1.347 MB / 2.527 GB, free: 197 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00064/4.516, allocations: 1.121 MB / 2.528 GB, free: 195.9 MB / 0.6982 GB Notification: Performance of SimCode: time 1.142e-06/4.516, allocations: 0 / 2.528 GB, free: 195.9 MB / 0.6982 GB Notification: Performance of Templates: time 0.02535/4.541, allocations: 17.07 MB / 2.545 GB, free: 178.9 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)