Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.377/1.377, allocations: 289.8 MB / 297.1 MB, free: 6.727 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009713/0.0009713, allocations: 165.3 kB / 366.3 MB, free: 2.016 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.077/1.077, allocations: 205.1 MB / 0.6256 GB, free: 5.859 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008462/0.0008465, allocations: 92.16 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.111e-06/6.132e-06, allocations: 0 / 0.859 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4654, allocations: 116.3 MB / 0.9725 GB, free: 68.09 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.915/3.381, allocations: 2.072 GB / 3.044 GB, free: 2.535 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/3.381, allocations: 90.64 kB / 3.044 GB, free: 2.449 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.4155/3.796, allocations: 57.7 MB / 3.101 GB, free: 334.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.63e-05/3.797, allocations: 20 kB / 3.101 GB, free: 334.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.0015/3.798, allocations: 1.094 MB / 3.102 GB, free: 332.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/3.798, allocations: 11.97 kB / 3.102 GB, free: 332.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/3.799, allocations: 250.5 kB / 3.102 GB, free: 332.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007748/3.8, allocations: 0.6076 MB / 3.103 GB, free: 332 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/3.8, allocations: 39.78 kB / 3.103 GB, free: 332 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/3.8, allocations: 44 kB / 3.103 GB, free: 331.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001175/3.801, allocations: 1.003 MB / 3.104 GB, free: 330.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009474/3.802, allocations: 0.7453 MB / 3.104 GB, free: 330.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/3.802, allocations: 0 / 3.104 GB, free: 330.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/3.802, allocations: 4 kB / 3.104 GB, free: 330.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/3.802, allocations: 27.92 kB / 3.105 GB, free: 330.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/3.805, allocations: 2.54 MB / 3.107 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009063/3.806, allocations: 0.7627 MB / 3.108 GB, free: 326.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/3.806, allocations: 244.1 kB / 3.108 GB, free: 326.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.163e-05/3.806, allocations: 24.62 kB / 3.108 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004156/3.807, allocations: 385.9 kB / 3.108 GB, free: 326 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 1.714e-06/3.807, allocations: 4 kB / 3.108 GB, free: 326 MB / 0.948 GB Notification: Performance of matching and sorting (n=74): time 0.001315/3.808, allocations: 0.6379 MB / 3.109 GB, free: 325.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/3.808, allocations: 240 kB / 3.109 GB, free: 325.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000501/3.809, allocations: 0.5061 MB / 3.11 GB, free: 324.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/3.809, allocations: 25.7 kB / 3.11 GB, free: 324.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/3.809, allocations: 300.1 kB / 3.11 GB, free: 324.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/3.809, allocations: 240.4 kB / 3.11 GB, free: 324 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/3.809, allocations: 0 / 3.11 GB, free: 324 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.675e-05/3.809, allocations: 370.8 kB / 3.111 GB, free: 323.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/3.809, allocations: 193.3 kB / 3.111 GB, free: 323.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/3.81, allocations: 316.9 kB / 3.111 GB, free: 323.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/3.81, allocations: 243.1 kB / 3.111 GB, free: 322.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/3.81, allocations: 0 / 3.111 GB, free: 322.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001257/3.811, allocations: 0.6599 MB / 3.112 GB, free: 322.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/3.811, allocations: 8 kB / 3.112 GB, free: 322.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/3.811, allocations: 1.969 kB / 3.112 GB, free: 322.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005954/3.812, allocations: 88.84 kB / 3.112 GB, free: 322.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/3.813, allocations: 147.8 kB / 3.112 GB, free: 322 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/3.814, allocations: 1.453 MB / 3.114 GB, free: 320.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/3.815, allocations: 67.59 kB / 3.114 GB, free: 320.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/3.815, allocations: 31.98 kB / 3.114 GB, free: 320.3 MB / 0.948 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.0001288/3.815, allocations: 124 kB / 3.114 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/3.815, allocations: 71.14 kB / 3.114 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/3.817, allocations: 0.9174 MB / 3.115 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/3.817, allocations: 15.98 kB / 3.115 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/3.817, allocations: 0 / 3.115 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/3.817, allocations: 3.984 kB / 3.115 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/3.819, allocations: 1.748 MB / 3.117 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/3.819, allocations: 0 / 3.117 GB, free: 317.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/3.82, allocations: 147.8 kB / 3.117 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004682/3.82, allocations: 84.78 kB / 3.117 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/3.82, allocations: 15.98 kB / 3.117 GB, free: 317.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/3.822, allocations: 1.48 MB / 3.118 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/3.822, allocations: 0 / 3.118 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001213/3.823, allocations: 0.8166 MB / 3.119 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/3.823, allocations: 279.8 kB / 3.119 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/3.823, allocations: 1.406 kB / 3.119 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005521/3.824, allocations: 67.88 kB / 3.119 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/3.824, allocations: 48.7 kB / 3.119 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/3.824, allocations: 27.98 kB / 3.119 GB, free: 314.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003569/3.824, allocations: 410.9 kB / 3.12 GB, free: 313.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008541/3.825, allocations: 303.2 kB / 3.12 GB, free: 313.5 MB / 0.948 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.001228/3.826, allocations: 1.008 MB / 3.121 GB, free: 312.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009249/3.827, allocations: 0.6509 MB / 3.122 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/3.827, allocations: 0 / 3.122 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005414/3.828, allocations: 444.6 kB / 3.122 GB, free: 311.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009039/3.829, allocations: 230.6 kB / 3.122 GB, free: 311.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/3.832, allocations: 1.332 MB / 3.124 GB, free: 309.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005846/3.832, allocations: 1.127 MB / 3.125 GB, free: 308.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/3.832, allocations: 3.938 kB / 3.125 GB, free: 308.7 MB / 0.948 GB Notification: Performance of Templates: time 0.02032/3.853, allocations: 16.74 MB / 3.141 GB, free: 292.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)