Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [: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.2782/0.2782, allocations: 54.39 MB / 61.67 MB, free: 11.16 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.001163/0.001163, allocations: 185.7 kB / 75.37 MB, free: 1.449 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.469/1.469, allocations: 194.2 MB / 283.2 MB, free: 3.504 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.001837/0.001837, allocations: 102.8 kB / 341.3 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.855e-06/7.975e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1489, allocations: 57.65 MB / 462.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.484/5.633, allocations: 2.13 GB / 2.581 GB, free: 72.72 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004095/5.633, allocations: 89.62 kB / 2.581 GB, free: 72.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1277/5.761, allocations: 58.68 MB / 2.639 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.976e-05/5.761, allocations: 23.94 kB / 2.639 GB, free: 13.62 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.00279/5.764, allocations: 1.152 MB / 2.64 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/5.764, allocations: 11.97 kB / 2.64 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/5.767, allocations: 422.2 kB / 2.64 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/5.768, allocations: 0.5392 MB / 2.641 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/5.768, allocations: 28 kB / 2.641 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/5.769, allocations: 52 kB / 2.641 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002067/5.771, allocations: 1.066 MB / 2.642 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/5.772, allocations: 0.7863 MB / 2.643 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/5.772, allocations: 0 / 2.643 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/5.772, allocations: 0 / 2.643 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/5.772, allocations: 24 kB / 2.643 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00501/5.777, allocations: 2.461 MB / 2.645 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/5.779, allocations: 0.7894 MB / 2.646 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/5.78, allocations: 286.8 kB / 2.646 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000668/5.781, allocations: 478 kB / 2.647 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006406/5.781, allocations: 438.8 kB / 2.647 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=74): time 3.797e-06/5.781, allocations: 0 / 2.647 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of matching and sorting (n=74): time 0.002294/5.784, allocations: 0.781 MB / 2.648 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/5.784, allocations: 166.9 kB / 2.648 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000664/5.784, allocations: 425.2 kB / 2.648 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.415e-05/5.784, allocations: 33.7 kB / 2.648 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/5.785, allocations: 312.1 kB / 2.649 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/5.785, allocations: 228.5 kB / 2.649 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/5.785, allocations: 0 / 2.649 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.186e-05/5.785, allocations: 366.7 kB / 2.649 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/5.785, allocations: 233.3 kB / 2.649 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/5.786, allocations: 319.8 kB / 2.65 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000894/5.787, allocations: 354.9 kB / 2.65 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/5.787, allocations: 0 / 2.65 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002052/5.789, allocations: 0.828 MB / 2.651 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/5.789, allocations: 4 kB / 2.651 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/5.789, allocations: 0 / 2.651 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006643/5.79, allocations: 96.8 kB / 2.651 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009042/5.79, allocations: 171.7 kB / 2.651 GB, free: 444 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2849/6.075, allocations: 1.448 MB / 2.653 GB, free: 199.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/6.076, allocations: 75.09 kB / 2.653 GB, free: 199.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-05/6.077, allocations: 33.41 kB / 2.653 GB, free: 199.2 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 (78): * Single equations (assignments): 75 * 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.0002266/6.077, allocations: 118 kB / 2.653 GB, free: 199.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/6.077, allocations: 64.88 kB / 2.653 GB, free: 199.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/6.08, allocations: 1.09 MB / 2.654 GB, free: 199 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/6.08, allocations: 10.34 kB / 2.654 GB, free: 199 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/6.08, allocations: 0 / 2.654 GB, free: 199 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/6.08, allocations: 6.281 kB / 2.654 GB, free: 199 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009702/6.081, allocations: 0.7508 MB / 2.655 GB, free: 198.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/6.081, allocations: 3.375 kB / 2.655 GB, free: 198.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008741/6.082, allocations: 173.7 kB / 2.655 GB, free: 198.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000521/6.082, allocations: 82.72 kB / 2.655 GB, free: 198.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.686e-05/6.082, allocations: 24.03 kB / 2.655 GB, free: 198.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/6.084, allocations: 1.469 MB / 2.656 GB, free: 197.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/6.084, allocations: 6.594 kB / 2.656 GB, free: 197.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002044/6.086, allocations: 0.8683 MB / 2.657 GB, free: 197.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000413/6.086, allocations: 280.3 kB / 2.657 GB, free: 197.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/6.087, allocations: 2.75 kB / 2.657 GB, free: 197.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007165/6.087, allocations: 73.77 kB / 2.658 GB, free: 197.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/6.087, allocations: 47.36 kB / 2.658 GB, free: 197.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.282e-05/6.087, allocations: 33.64 kB / 2.658 GB, free: 197.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003911/6.088, allocations: 349.4 kB / 2.658 GB, free: 197.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001351/6.089, allocations: 398.7 kB / 2.658 GB, free: 197.3 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.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.002046/6.091, allocations: 1.188 MB / 2.66 GB, free: 197.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001425/6.093, allocations: 0.7762 MB / 2.66 GB, free: 197 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/6.093, allocations: 3.812 kB / 2.66 GB, free: 197 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007349/6.093, allocations: 480 kB / 2.661 GB, free: 196.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009431/6.094, allocations: 153.9 kB / 2.661 GB, free: 196.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/6.099, allocations: 1.326 MB / 2.662 GB, free: 196.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/6.1, allocations: 1.108 MB / 2.663 GB, free: 195.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/6.1, allocations: 0 / 2.663 GB, free: 195.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.03059/6.131, allocations: 17.83 MB / 2.681 GB, free: 194.5 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)