Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [: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/Complex 4.0.0+maint.om/package.mo): time 0.003012/0.003012, allocations: 183 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.698/0.698, allocations: 133.5 MB / 141.4 MB, free: 15.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 221.3 MB / 395 MB, free: 10.19 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 94.86 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.436e-06/8.466e-06, allocations: 2.781 kB / 0.5528 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1867, allocations: 82.3 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.441/4.628, allocations: 1.694 GB / 2.327 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/4.628, allocations: 92.39 kB / 2.327 GB, free: 258.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1369/4.765, allocations: 60.62 MB / 2.386 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001044/4.765, allocations: 27.94 kB / 2.386 GB, free: 210.1 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002951/4.768, allocations: 1.125 MB / 2.387 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/4.768, allocations: 8.031 kB / 2.387 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/4.769, allocations: 202.5 kB / 2.388 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/4.771, allocations: 0.6231 MB / 2.388 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/4.771, allocations: 27.98 kB / 2.388 GB, free: 208 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/4.771, allocations: 48 kB / 2.388 GB, free: 208 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001599/4.773, allocations: 1.019 MB / 2.389 GB, free: 207 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/4.774, allocations: 0.7544 MB / 2.39 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/4.774, allocations: 0 / 2.39 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.104e-05/4.774, allocations: 0 / 2.39 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/4.774, allocations: 20 kB / 2.39 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004458/4.778, allocations: 2.43 MB / 2.392 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/4.78, allocations: 0.7767 MB / 2.393 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/4.78, allocations: 258.7 kB / 2.393 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.069e-05/4.781, allocations: 36.67 kB / 2.393 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005254/4.781, allocations: 390.1 kB / 2.394 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 3.777e-06/4.781, allocations: 0 / 2.394 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001802/4.783, allocations: 0.6638 MB / 2.394 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/4.783, allocations: 240 kB / 2.395 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007536/4.784, allocations: 0.5023 MB / 2.395 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/4.784, allocations: 25.7 kB / 2.395 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/4.784, allocations: 304.2 kB / 2.395 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/4.784, allocations: 244.3 kB / 2.396 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/4.784, allocations: 0 / 2.396 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/4.784, allocations: 382.7 kB / 2.396 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/4.785, allocations: 197.3 kB / 2.396 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/4.785, allocations: 306.3 kB / 2.397 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/4.785, allocations: 247.1 kB / 2.397 GB, free: 199 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/4.785, allocations: 0 / 2.397 GB, free: 199 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001586/4.787, allocations: 0.6756 MB / 2.397 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/4.787, allocations: 4 kB / 2.397 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/4.787, allocations: 4 kB / 2.397 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/4.788, allocations: 80.84 kB / 2.397 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006279/4.788, allocations: 143.8 kB / 2.398 GB, free: 198 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/4.79, allocations: 1.461 MB / 2.399 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007646/4.791, allocations: 75.5 kB / 2.399 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.793e-05/4.791, allocations: 23.98 kB / 2.399 GB, free: 196.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * 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.0001777/4.791, allocations: 116.9 kB / 2.399 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/4.791, allocations: 79 kB / 2.399 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/4.794, allocations: 0.9798 MB / 2.4 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/4.794, allocations: 8 kB / 2.4 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/4.794, allocations: 0 / 2.4 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/4.794, allocations: 7.984 kB / 2.4 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/4.797, allocations: 1.756 MB / 2.402 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/4.797, allocations: 0 / 2.402 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006571/4.797, allocations: 171.7 kB / 2.402 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005403/4.798, allocations: 84.78 kB / 2.402 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/4.798, allocations: 15.98 kB / 2.402 GB, free: 193.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/4.8, allocations: 1.476 MB / 2.404 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/4.8, allocations: 0 / 2.404 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00169/4.801, allocations: 0.8557 MB / 2.405 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/4.802, allocations: 291.7 kB / 2.405 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/4.802, allocations: 0 / 2.405 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007435/4.803, allocations: 63.94 kB / 2.405 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/4.803, allocations: 56.69 kB / 2.405 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.806e-05/4.803, allocations: 31.98 kB / 2.405 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005816/4.804, allocations: 406.9 kB / 2.405 GB, free: 189.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00151/4.805, allocations: 362.9 kB / 2.406 GB, free: 189.4 MB / 0.6823 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * 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.002152/4.807, allocations: 1.071 MB / 2.407 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001283/4.809, allocations: 0.6779 MB / 2.407 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/4.809, allocations: 0 / 2.407 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007019/4.809, allocations: 468.8 kB / 2.408 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/4.811, allocations: 202.5 kB / 2.408 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/4.814, allocations: 1.374 MB / 2.409 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007946/4.815, allocations: 1.143 MB / 2.411 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of SimCode: time 6.42e-07/4.815, allocations: 0 / 2.411 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.02921/4.844, allocations: 17.14 MB / 2.427 GB, free: 167.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)