Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2706/0.2706, allocations: 54.39 MB / 61.68 MB, free: 11.15 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001117/0.001117, allocations: 187.6 kB / 75.37 MB, free: 1.523 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.584/1.584, allocations: 194.2 MB / 283.2 MB, free: 3.48 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001801/0.001801, allocations: 113.8 kB / 341.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.586e-06/8.596e-06, allocations: 4 kB / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1488, allocations: 57.65 MB / 462.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.176/5.325, allocations: 2.129 GB / 2.58 GB, free: 62.38 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/5.325, allocations: 83.95 kB / 2.58 GB, free: 62.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1156/5.441, allocations: 51.46 MB / 2.631 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.797e-05/5.441, allocations: 23.94 kB / 2.631 GB, free: 10.51 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002824/5.444, allocations: 1.101 MB / 2.632 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/5.444, allocations: 11.97 kB / 2.632 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/5.447, allocations: 386.3 kB / 2.632 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/5.448, allocations: 0.5352 MB / 2.633 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/5.448, allocations: 24 kB / 2.633 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/5.448, allocations: 44 kB / 2.633 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001953/5.45, allocations: 1.019 MB / 2.634 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/5.452, allocations: 0.7238 MB / 2.634 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/5.452, allocations: 3.984 kB / 2.635 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.885e-05/5.452, allocations: 0 / 2.635 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/5.452, allocations: 20 kB / 2.635 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004764/5.457, allocations: 2.278 MB / 2.637 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/5.458, allocations: 0.8101 MB / 2.638 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/5.458, allocations: 274.8 kB / 2.638 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006804/5.459, allocations: 474.2 kB / 2.638 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005939/5.46, allocations: 422.8 kB / 2.639 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=73): time 4.458e-06/5.46, allocations: 0 / 2.639 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73): time 0.002223/5.462, allocations: 0.7576 MB / 2.639 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/5.462, allocations: 162.9 kB / 2.64 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/5.463, allocations: 433.1 kB / 2.64 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.486e-05/5.463, allocations: 29.7 kB / 2.64 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/5.463, allocations: 272.5 kB / 2.64 GB, free: 392 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/5.464, allocations: 236.4 kB / 2.64 GB, free: 152 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/5.464, allocations: 0 / 2.64 GB, free: 152 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.2332/5.697, allocations: 362.8 kB / 2.641 GB, free: 197.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006565/5.697, allocations: 224.8 kB / 2.641 GB, free: 197.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/5.698, allocations: 301.7 kB / 2.641 GB, free: 197.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009055/5.699, allocations: 340.8 kB / 2.642 GB, free: 197.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/5.699, allocations: 0 / 2.642 GB, free: 197.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001999/5.701, allocations: 0.8074 MB / 2.642 GB, free: 197.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/5.701, allocations: 2.344 kB / 2.642 GB, free: 197.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/5.701, allocations: 2.938 kB / 2.642 GB, free: 197.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/5.701, allocations: 80.2 kB / 2.643 GB, free: 197.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/5.702, allocations: 160.3 kB / 2.643 GB, free: 197.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/5.704, allocations: 1.446 MB / 2.644 GB, free: 196 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007833/5.705, allocations: 67.55 kB / 2.644 GB, free: 196 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/5.705, allocations: 29.7 kB / 2.644 GB, free: 196 MB / 0.4948 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 2 * 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.0001989/5.705, allocations: 122.2 kB / 2.644 GB, free: 195.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/5.705, allocations: 69.31 kB / 2.644 GB, free: 195.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/5.708, allocations: 1.034 MB / 2.645 GB, free: 195.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/5.708, allocations: 7.594 kB / 2.645 GB, free: 195.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/5.708, allocations: 0 / 2.645 GB, free: 195.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/5.708, allocations: 7.219 kB / 2.645 GB, free: 195.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/5.711, allocations: 1.824 MB / 2.647 GB, free: 195.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/5.711, allocations: 0.8438 kB / 2.647 GB, free: 195.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007813/5.712, allocations: 164 kB / 2.647 GB, free: 195.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005436/5.712, allocations: 80.28 kB / 2.647 GB, free: 195.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.044e-05/5.713, allocations: 17.16 kB / 2.647 GB, free: 195.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/5.714, allocations: 1.473 MB / 2.649 GB, free: 194.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/5.714, allocations: 0 / 2.649 GB, free: 194.3 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002012/5.716, allocations: 0.9222 MB / 2.65 GB, free: 194.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004238/5.717, allocations: 278.2 kB / 2.65 GB, free: 193.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/5.717, allocations: 0 / 2.65 GB, free: 193.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006596/5.718, allocations: 58.06 kB / 2.65 GB, free: 193.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/5.718, allocations: 46.31 kB / 2.65 GB, free: 193.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.778e-05/5.718, allocations: 36.53 kB / 2.65 GB, free: 193.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003945/5.718, allocations: 341.1 kB / 2.65 GB, free: 193.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001331/5.719, allocations: 384.8 kB / 2.651 GB, free: 193.8 MB / 0.4948 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.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.002527/5.722, allocations: 1.178 MB / 2.652 GB, free: 193.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001515/5.724, allocations: 0.754 MB / 2.653 GB, free: 193.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/5.724, allocations: 5.906 kB / 2.653 GB, free: 193.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000749/5.724, allocations: 458.1 kB / 2.653 GB, free: 193.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/5.725, allocations: 165.5 kB / 2.653 GB, free: 193.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/5.729, allocations: 1.26 MB / 2.655 GB, free: 193.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009979/5.73, allocations: 1.08 MB / 2.656 GB, free: 192.4 MB / 0.4948 GB Notification: Performance of SimCode: time 9.82e-07/5.73, allocations: 2.219 kB / 2.656 GB, free: 192.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.03043/5.761, allocations: 17.36 MB / 2.673 GB, free: 191.1 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)