Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [: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.2761/0.2761, allocations: 54.4 MB / 61.68 MB, free: 11.18 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.001177/0.001176, allocations: 179.3 kB / 75.37 MB, free: 1.453 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.456/1.456, allocations: 194.2 MB / 283.2 MB, free: 3.57 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.001783/0.001783, allocations: 107.7 kB / 341.3 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.584e-06, allocations: 0 / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.132, allocations: 57.65 MB / 462.6 MB, free: 1.996 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.427/5.559, allocations: 2.129 GB / 2.581 GB, free: 72.62 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004114/5.559, allocations: 95.94 kB / 2.581 GB, free: 72.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.141/5.7, allocations: 61.23 MB / 2.641 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001136/5.7, allocations: 31.94 kB / 2.641 GB, free: 10.95 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003193/5.703, allocations: 1.141 MB / 2.642 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/5.704, allocations: 15.97 kB / 2.642 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/5.706, allocations: 358.2 kB / 2.643 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/5.707, allocations: 0.5413 MB / 2.643 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/5.707, allocations: 28 kB / 2.643 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/5.708, allocations: 48 kB / 2.643 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001896/5.71, allocations: 1.058 MB / 2.644 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/5.711, allocations: 0.7745 MB / 2.645 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/5.711, allocations: 0 / 2.645 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.526e-05/5.711, allocations: 3.906 kB / 2.645 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/5.711, allocations: 20 kB / 2.645 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00456/5.716, allocations: 2.423 MB / 2.647 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/5.717, allocations: 0.7108 MB / 2.648 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/5.717, allocations: 274.8 kB / 2.648 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006185/5.718, allocations: 474.1 kB / 2.649 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005492/5.718, allocations: 430.9 kB / 2.649 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=73): time 3.457e-06/5.718, allocations: 0 / 2.649 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73): time 0.002376/5.721, allocations: 0.8278 MB / 2.65 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/5.721, allocations: 162.9 kB / 2.65 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004973/5.721, allocations: 437.2 kB / 2.651 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/5.722, allocations: 33.7 kB / 2.651 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/5.722, allocations: 300.2 kB / 2.651 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/5.722, allocations: 232.5 kB / 2.651 GB, free: 344 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/5.722, allocations: 0 / 2.651 GB, free: 344 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.2561/5.978, allocations: 362.8 kB / 2.651 GB, free: 200.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007334/5.979, allocations: 230 kB / 2.652 GB, free: 200.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/5.979, allocations: 308.1 kB / 2.652 GB, free: 200.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/5.98, allocations: 410 kB / 2.652 GB, free: 200.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/5.98, allocations: 6.844 kB / 2.652 GB, free: 200.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002243/5.983, allocations: 0.8744 MB / 2.653 GB, free: 200.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/5.983, allocations: 5.969 kB / 2.653 GB, free: 200.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/5.983, allocations: 0 / 2.653 GB, free: 200.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006296/5.983, allocations: 82.59 kB / 2.653 GB, free: 200.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008169/5.984, allocations: 161.7 kB / 2.653 GB, free: 200.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/5.986, allocations: 1.445 MB / 2.655 GB, free: 199 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007644/5.987, allocations: 75.23 kB / 2.655 GB, free: 199 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.829e-05/5.987, allocations: 34.7 kB / 2.655 GB, free: 199 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.0001912/5.987, allocations: 119.4 kB / 2.655 GB, free: 198.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/5.987, allocations: 63.5 kB / 2.655 GB, free: 198.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/5.99, allocations: 1.129 MB / 2.656 GB, free: 198.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/5.99, allocations: 12.59 kB / 2.656 GB, free: 198.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/5.99, allocations: 2.906 kB / 2.656 GB, free: 198.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/5.99, allocations: 7.75 kB / 2.656 GB, free: 198.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009787/5.991, allocations: 0.7328 MB / 2.657 GB, free: 198.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/5.991, allocations: 0 / 2.657 GB, free: 198.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007769/5.992, allocations: 164.6 kB / 2.657 GB, free: 198.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005017/5.992, allocations: 81.27 kB / 2.657 GB, free: 198.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.323e-05/5.993, allocations: 17.58 kB / 2.657 GB, free: 198.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/5.994, allocations: 1.481 MB / 2.659 GB, free: 197.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/5.994, allocations: 3.906 kB / 2.659 GB, free: 197.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002103/5.996, allocations: 0.9141 MB / 2.66 GB, free: 197.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/5.997, allocations: 279.1 kB / 2.66 GB, free: 197.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/5.997, allocations: 3.719 kB / 2.66 GB, free: 197.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006194/5.997, allocations: 63.5 kB / 2.66 GB, free: 197.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/5.997, allocations: 42.08 kB / 2.66 GB, free: 197.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/5.998, allocations: 35.91 kB / 2.66 GB, free: 197.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003913/5.998, allocations: 351.1 kB / 2.66 GB, free: 197 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00137/5.999, allocations: 396.8 kB / 2.661 GB, free: 197 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 (80): * Single equations (assignments): 77 * 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.00221/6.002, allocations: 1.19 MB / 2.662 GB, free: 196.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001432/6.003, allocations: 0.767 MB / 2.663 GB, free: 196.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/6.003, allocations: 0 / 2.663 GB, free: 196.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007095/6.004, allocations: 467 kB / 2.663 GB, free: 196.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007879/6.005, allocations: 148.8 kB / 2.663 GB, free: 196.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/6.008, allocations: 1.32 MB / 2.665 GB, free: 196.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008765/6.009, allocations: 1.106 MB / 2.666 GB, free: 195.6 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/6.009, allocations: 0 / 2.666 GB, free: 195.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.03119/6.04, allocations: 17.45 MB / 2.683 GB, free: 194.2 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)