Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [: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.0009455/0.0009455, allocations: 185.5 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4335/0.4335, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 221.4 MB / 342.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008838/0.000884, allocations: 92.14 kB / 415.5 MB, free: 6.395 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1687/0.1696, allocations: 78.45 MB / 494 MB, free: 7.945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.5344, allocations: 72.3 MB / 0.553 GB, free: 73.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.6532, allocations: 102.2 MB / 0.6528 GB, free: 7.879 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.6535, allocations: 83.94 kB / 0.6528 GB, free: 7.797 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.009958/0.6635, allocations: 3.349 MB / 0.6561 GB, free: 4.434 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.6635, allocations: 8 kB / 0.6561 GB, free: 4.426 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.6636, allocations: 15.81 kB / 0.6561 GB, free: 4.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.664, allocations: 217.3 kB / 0.6563 GB, free: 4.156 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.664, allocations: 5.219 kB / 0.6563 GB, free: 4.152 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.664, allocations: 4 kB / 0.6564 GB, free: 4.148 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001772/0.6642, allocations: 80.64 kB / 0.6564 GB, free: 4.07 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.6644, allocations: 120.6 kB / 0.6565 GB, free: 3.941 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.6644, allocations: 3 kB / 0.6565 GB, free: 3.941 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.6645, allocations: 0.5 kB / 0.6565 GB, free: 3.941 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.6645, allocations: 4 kB / 0.6565 GB, free: 3.938 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.665, allocations: 376.1 kB / 0.6569 GB, free: 3.523 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.6652, allocations: 114.6 kB / 0.657 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.6653, allocations: 95.48 kB / 0.6571 GB, free: 3.297 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.6653, allocations: 0.5625 kB / 0.6571 GB, free: 3.297 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.6655, allocations: 168.4 kB / 0.6573 GB, free: 3.109 MB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 2.234e-06/0.6655, allocations: 0.5312 kB / 0.6573 GB, free: 3.109 MB / 474.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004177/0.666, allocations: 189.9 kB / 0.6575 GB, free: 2.918 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.666, allocations: 111.7 kB / 0.6576 GB, free: 2.785 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.6662, allocations: 174.4 kB / 0.6577 GB, free: 2.609 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.6663, allocations: 30.39 kB / 0.6578 GB, free: 2.574 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.6663, allocations: 98.83 kB / 0.6578 GB, free: 2.477 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.6664, allocations: 31.58 kB / 0.6579 GB, free: 2.445 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.6664, allocations: 0 / 0.6579 GB, free: 2.445 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6665, allocations: 326.7 kB / 0.6582 GB, free: 2.117 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.985e-05/0.6667, allocations: 67.97 kB / 0.6583 GB, free: 2.051 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.6668, allocations: 82.36 kB / 0.6583 GB, free: 1.965 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.6669, allocations: 69.45 kB / 0.6584 GB, free: 1.898 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6669, allocations: 0 / 0.6584 GB, free: 1.898 MB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003633/0.6673, allocations: 205.2 kB / 0.6586 GB, free: 1.695 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.6673, allocations: 6.031 kB / 0.6586 GB, free: 1.691 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6673, allocations: 0.5 kB / 0.6586 GB, free: 1.691 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.6674, allocations: 1.312 kB / 0.6586 GB, free: 1.691 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.6674, allocations: 11.94 kB / 0.6586 GB, free: 1.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.6675, allocations: 2.312 kB / 0.6586 GB, free: 1.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.933e-05/0.6675, allocations: 4.531 kB / 0.6586 GB, free: 1.676 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-05/0.6676, allocations: 20.42 kB / 0.6586 GB, free: 1.656 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.6677, allocations: 139.4 kB / 0.6588 GB, free: 1.508 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.6677, allocations: 16.34 kB / 0.6588 GB, free: 1.492 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.6679, allocations: 72.78 kB / 0.6589 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.6679, allocations: 0 / 0.6589 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.6679, allocations: 0.5938 kB / 0.6589 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.668, allocations: 4 kB / 0.6589 GB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.6681, allocations: 198.6 kB / 0.6591 GB, free: 1.188 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6681, allocations: 0.5 kB / 0.6591 GB, free: 1.188 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.6682, allocations: 8 kB / 0.6591 GB, free: 1.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.6682, allocations: 4.062 kB / 0.6591 GB, free: 1.176 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.6682, allocations: 8 kB / 0.6591 GB, free: 1.168 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6682, allocations: 0 / 0.6591 GB, free: 1.168 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6682, allocations: 0 / 0.6591 GB, free: 1.168 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003722/0.6686, allocations: 259.3 kB / 0.6593 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004661/0.6691, allocations: 0.6314 MB / 0.6599 GB, free: 232 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.6693, allocations: 119.6 kB / 0.66 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.6693, allocations: 7.984 kB / 0.6601 GB, free: 88 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.6694, allocations: 4 kB / 0.6601 GB, free: 84 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.6695, allocations: 4 kB / 0.6601 GB, free: 80 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.6695, allocations: 16 kB / 0.6601 GB, free: 64 kB / 474.7 MB Notification: Performance of sort global known variables: time 0.0001242/0.6696, allocations: 144.1 kB / 0.6602 GB, free: 15.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008214/0.6704, allocations: 36 kB / 0.6603 GB, free: 15.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002285/0.6707, allocations: 138.8 kB / 0.6604 GB, free: 15.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.6709, allocations: 149.7 kB / 0.6605 GB, free: 15.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6709, allocations: 3.938 kB / 0.6605 GB, free: 15.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.6711, allocations: 125.6 kB / 0.6606 GB, free: 15.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.6713, allocations: 12.16 kB / 0.6607 GB, free: 15.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.6718, allocations: 224.3 kB / 0.6609 GB, free: 15.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/0.6722, allocations: 0.7325 MB / 0.6616 GB, free: 14.43 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6722, allocations: 0 / 0.6616 GB, free: 14.43 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)