Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [: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.2752/0.2752, allocations: 54.4 MB / 61.68 MB, free: 11.14 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.001199/0.001199, allocations: 183.3 kB / 75.37 MB, free: 1.477 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.526/1.526, allocations: 194.2 MB / 283.2 MB, free: 3.469 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.002128/0.002128, allocations: 117.3 kB / 341.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.844e-06/7.884e-06, allocations: 0 / 404.9 MB, free: 27.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1698, allocations: 57.65 MB / 462.6 MB, free: 1.93 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.42/5.59, allocations: 2.129 GB / 2.581 GB, free: 72.45 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003753/5.59, allocations: 93.34 kB / 2.581 GB, free: 72.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1218/5.712, allocations: 57.39 MB / 2.637 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.544e-05/5.712, allocations: 16 kB / 2.637 GB, free: 14.64 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.002406/5.715, allocations: 1.109 MB / 2.638 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/5.715, allocations: 11.97 kB / 2.638 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/5.717, allocations: 354.3 kB / 2.639 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/5.718, allocations: 0.5275 MB / 2.639 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/5.718, allocations: 24 kB / 2.639 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/5.718, allocations: 44 kB / 2.639 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001656/5.72, allocations: 1.03 MB / 2.64 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/5.721, allocations: 0.7238 MB / 2.641 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/5.721, allocations: 0 / 2.641 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.079e-05/5.722, allocations: 4 kB / 2.641 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/5.722, allocations: 16 kB / 2.641 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003894/5.725, allocations: 2.298 MB / 2.643 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/5.727, allocations: 0.7849 MB / 2.644 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/5.728, allocations: 285.7 kB / 2.644 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006141/5.728, allocations: 478.2 kB / 2.645 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005471/5.729, allocations: 430.9 kB / 2.645 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=73): time 3.036e-06/5.729, allocations: 0 / 2.645 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73): time 0.002083/5.731, allocations: 0.7732 MB / 2.646 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/5.731, allocations: 162.9 kB / 2.646 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/5.732, allocations: 437.2 kB / 2.646 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.888e-05/5.732, allocations: 25.7 kB / 2.646 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/5.732, allocations: 272.5 kB / 2.647 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/5.732, allocations: 232.5 kB / 2.647 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/5.732, allocations: 0 / 2.647 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.214e-05/5.732, allocations: 366.8 kB / 2.647 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/5.732, allocations: 233.3 kB / 2.647 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/5.733, allocations: 307.8 kB / 2.648 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008353/5.734, allocations: 350.9 kB / 2.648 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/5.734, allocations: 0 / 2.648 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001994/5.736, allocations: 0.8241 MB / 2.649 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/5.736, allocations: 6.031 kB / 2.649 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/5.736, allocations: 0 / 2.649 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/5.736, allocations: 84.84 kB / 2.649 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008016/5.737, allocations: 167.7 kB / 2.649 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/5.739, allocations: 1.453 MB / 2.651 GB, free: 384 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007243/5.74, allocations: 75.53 kB / 2.651 GB, free: 308 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-05/5.74, allocations: 31.97 kB / 2.651 GB, free: 276 kB / 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.0001806/5.74, allocations: 124.8 kB / 2.651 GB, free: 144 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/5.74, allocations: 67.16 kB / 2.651 GB, free: 76 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2427/5.983, allocations: 1.065 MB / 2.652 GB, free: 195.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/5.983, allocations: 12.69 kB / 2.652 GB, free: 195.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/5.983, allocations: 3.094 kB / 2.652 GB, free: 195.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/5.983, allocations: 3.703 kB / 2.652 GB, free: 195.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/5.984, allocations: 0.7297 MB / 2.653 GB, free: 195.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/5.984, allocations: 2.5 kB / 2.653 GB, free: 195.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008107/5.985, allocations: 166.8 kB / 2.653 GB, free: 195.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005114/5.986, allocations: 87.16 kB / 2.653 GB, free: 195.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.672e-05/5.986, allocations: 13.58 kB / 2.653 GB, free: 195.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/5.987, allocations: 1.482 MB / 2.654 GB, free: 194.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/5.987, allocations: 2.5 kB / 2.654 GB, free: 194.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002033/5.989, allocations: 0.8639 MB / 2.655 GB, free: 194.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/5.99, allocations: 277.5 kB / 2.655 GB, free: 194.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/5.99, allocations: 0 / 2.655 GB, free: 194.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000664/5.991, allocations: 58.98 kB / 2.655 GB, free: 194.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/5.991, allocations: 52.73 kB / 2.655 GB, free: 194.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/5.991, allocations: 33.81 kB / 2.656 GB, free: 194.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0004018/5.991, allocations: 347.7 kB / 2.656 GB, free: 194.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001217/5.992, allocations: 388.1 kB / 2.656 GB, free: 194.2 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 (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.001961/5.994, allocations: 1.181 MB / 2.657 GB, free: 194.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001309/5.996, allocations: 0.7756 MB / 2.658 GB, free: 193.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/5.996, allocations: 0 / 2.658 GB, free: 193.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006602/5.996, allocations: 472.5 kB / 2.659 GB, free: 193.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007591/5.997, allocations: 153.4 kB / 2.659 GB, free: 193.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/6.001, allocations: 1.28 MB / 2.66 GB, free: 193.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007327/6.001, allocations: 1.091 MB / 2.661 GB, free: 192.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/6.001, allocations: 0 / 2.661 GB, free: 192.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.02643/6.028, allocations: 17.61 MB / 2.678 GB, free: 191.6 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)