Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") [: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.276/0.276, 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.001223/0.001223, allocations: 183.7 kB / 75.37 MB, free: 1.48 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.302/1.302, allocations: 194.2 MB / 283.2 MB, free: 3.484 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.001768/0.001768, allocations: 117.3 kB / 341.3 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.932e-06/5.951e-06, allocations: 0 / 404.9 MB, free: 27.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 57.65 MB / 462.6 MB, free: 1.941 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.936/5.05, allocations: 2.13 GB / 2.582 GB, free: 68.78 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004204/5.051, allocations: 95.94 kB / 2.582 GB, free: 68.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1413/5.192, allocations: 62.82 MB / 2.644 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.494e-05/5.192, allocations: 27.94 kB / 2.644 GB, free: 5.523 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002474/5.195, allocations: 1.168 MB / 2.645 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/5.195, allocations: 11.97 kB / 2.645 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/5.197, allocations: 346.2 kB / 2.645 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009634/5.198, allocations: 0.5646 MB / 2.646 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/5.198, allocations: 28 kB / 2.646 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/5.198, allocations: 52 kB / 2.646 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001651/5.2, allocations: 1.097 MB / 2.647 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/5.201, allocations: 0.8019 MB / 2.648 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/5.201, allocations: 7.938 kB / 2.648 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.651e-05/5.201, allocations: 0 / 2.648 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/5.201, allocations: 24 kB / 2.648 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3047/5.506, allocations: 2.58 MB / 2.65 GB, free: 198.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/5.507, allocations: 0.7573 MB / 2.651 GB, free: 198.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/5.508, allocations: 297 kB / 2.651 GB, free: 198.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006513/5.508, allocations: 476 kB / 2.652 GB, free: 197.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006608/5.509, allocations: 452.8 kB / 2.652 GB, free: 197.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=80): time 4.248e-06/5.509, allocations: 2.469 kB / 2.652 GB, free: 197.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=80): time 0.002469/5.512, allocations: 0.8383 MB / 2.653 GB, free: 197.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/5.512, allocations: 171.9 kB / 2.653 GB, free: 197.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006335/5.512, allocations: 454 kB / 2.653 GB, free: 197.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/5.512, allocations: 33.16 kB / 2.653 GB, free: 197.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/5.513, allocations: 320 kB / 2.654 GB, free: 197.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/5.513, allocations: 246.6 kB / 2.654 GB, free: 196.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/5.513, allocations: 3.5 kB / 2.654 GB, free: 196.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001293/5.513, allocations: 372.3 kB / 2.654 GB, free: 196.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/5.514, allocations: 244.4 kB / 2.655 GB, free: 196.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/5.514, allocations: 331.8 kB / 2.655 GB, free: 196.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/5.515, allocations: 406.2 kB / 2.655 GB, free: 196.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/5.515, allocations: 3.312 kB / 2.655 GB, free: 196.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00223/5.517, allocations: 0.9079 MB / 2.656 GB, free: 196.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/5.517, allocations: 6.062 kB / 2.656 GB, free: 196.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/5.517, allocations: 3.375 kB / 2.656 GB, free: 196.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006522/5.518, allocations: 80.39 kB / 2.656 GB, free: 196.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000877/5.519, allocations: 178.5 kB / 2.656 GB, free: 196.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/5.521, allocations: 1.453 MB / 2.658 GB, free: 195.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00073/5.521, allocations: 66.3 kB / 2.658 GB, free: 195.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/5.522, allocations: 39.08 kB / 2.658 GB, free: 195.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 (86): * Single equations (assignments): 83 * 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.000206/5.522, allocations: 121.3 kB / 2.658 GB, free: 195.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/5.522, allocations: 69.97 kB / 2.658 GB, free: 195.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003123/5.525, allocations: 1.178 MB / 2.659 GB, free: 195 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/5.525, allocations: 15.69 kB / 2.659 GB, free: 195 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/5.525, allocations: 0 / 2.659 GB, free: 195 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/5.525, allocations: 6.047 kB / 2.659 GB, free: 195 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/5.529, allocations: 1.945 MB / 2.661 GB, free: 194.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/5.529, allocations: 0 / 2.661 GB, free: 194.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008468/5.53, allocations: 176.8 kB / 2.661 GB, free: 194.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00053/5.53, allocations: 88.61 kB / 2.661 GB, free: 194.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.428e-05/5.53, allocations: 18.81 kB / 2.662 GB, free: 194.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/5.532, allocations: 1.479 MB / 2.663 GB, free: 193.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/5.532, allocations: 0 / 2.663 GB, free: 193.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002303/5.534, allocations: 1.008 MB / 2.664 GB, free: 193.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004621/5.535, allocations: 295.2 kB / 2.664 GB, free: 193.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/5.535, allocations: 0 / 2.664 GB, free: 193.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006767/5.536, allocations: 60.06 kB / 2.664 GB, free: 193.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/5.536, allocations: 51.47 kB / 2.664 GB, free: 193.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.891e-05/5.536, allocations: 32.38 kB / 2.664 GB, free: 193.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005266/5.537, allocations: 375.6 kB / 2.665 GB, free: 193 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001671/5.538, allocations: 411.2 kB / 2.665 GB, free: 193 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 (90): * Single equations (assignments): 87 * 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.00255/5.541, allocations: 1.187 MB / 2.666 GB, free: 192.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001631/5.542, allocations: 0.8094 MB / 2.667 GB, free: 192.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/5.542, allocations: 0 / 2.667 GB, free: 192.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00075/5.543, allocations: 489.3 kB / 2.668 GB, free: 192.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008746/5.544, allocations: 157.6 kB / 2.668 GB, free: 192.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/5.548, allocations: 1.38 MB / 2.669 GB, free: 192.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009527/5.549, allocations: 1.139 MB / 2.67 GB, free: 191.5 MB / 0.4948 GB Notification: Performance of SimCode: time 2.836e-06/5.549, allocations: 2.844 kB / 2.67 GB, free: 191.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.03158/5.581, allocations: 17.9 MB / 2.688 GB, free: 190.1 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)