Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.8/1.8, allocations: 387.2 MB / 394.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009774/0.0009773, allocations: 188.3 kB / 487 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 221.3 MB / 0.7819 GB, free: 6.801 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008739/0.0008739, allocations: 102.3 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.297/0.2979, allocations: 148.5 MB / 1.066 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6499/0.9479, allocations: 142.3 MB / 1.205 GB, free: 73.02 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/1.102, allocations: 149.9 MB / 1.352 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/1.103, allocations: 83.94 kB / 1.352 GB, free: 13.34 MB / 0.8542 GB 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.008879/1.112, allocations: 3.356 MB / 1.355 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/1.112, allocations: 11.47 kB / 1.355 GB, free: 9.973 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/1.112, allocations: 17.06 kB / 1.355 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/1.112, allocations: 220.6 kB / 1.355 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/1.112, allocations: 0 / 1.355 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/1.112, allocations: 4 kB / 1.355 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001443/1.112, allocations: 75.95 kB / 1.355 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/1.112, allocations: 123.3 kB / 1.355 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/1.112, allocations: 4 kB / 1.355 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/1.112, allocations: 0 / 1.355 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/1.112, allocations: 0 / 1.355 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/1.113, allocations: 378.2 kB / 1.356 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/1.113, allocations: 117 kB / 1.356 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/1.113, allocations: 85.8 kB / 1.356 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/1.113, allocations: 0 / 1.356 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/1.113, allocations: 171.4 kB / 1.356 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/1.113, allocations: 0 / 1.356 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0003616/1.114, allocations: 197.3 kB / 1.356 GB, free: 8.461 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/1.114, allocations: 110.8 kB / 1.356 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/1.114, allocations: 182.2 kB / 1.357 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/1.114, allocations: 25.7 kB / 1.357 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/1.114, allocations: 92.12 kB / 1.357 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/1.114, allocations: 23.66 kB / 1.357 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/1.114, allocations: 4.031 kB / 1.357 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.994e-05/1.114, allocations: 330.8 kB / 1.357 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.5e-05/1.114, allocations: 63.95 kB / 1.357 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/1.114, allocations: 82.38 kB / 1.357 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/1.114, allocations: 75.27 kB / 1.357 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.114, allocations: 4 kB / 1.357 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003011/1.115, allocations: 197.4 kB / 1.358 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/1.115, allocations: 8.031 kB / 1.358 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.115, allocations: 0 / 1.358 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/1.115, allocations: 4 kB / 1.358 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.452e-05/1.115, allocations: 11.89 kB / 1.358 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/1.115, allocations: 6.109 kB / 1.358 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.421e-05/1.115, allocations: 0.75 kB / 1.358 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/1.115, allocations: 8 kB / 1.358 GB, free: 7.203 MB / 0.8542 GB 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.0001122/1.115, allocations: 141 kB / 1.358 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/1.115, allocations: 19.81 kB / 1.358 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/1.115, allocations: 71.02 kB / 1.358 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.115, allocations: 7.938 kB / 1.358 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.115, allocations: 3.984 kB / 1.358 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.115, allocations: 0 / 1.358 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/1.116, allocations: 203.3 kB / 1.358 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.116, allocations: 0 / 1.358 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/1.116, allocations: 11.91 kB / 1.358 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.116, allocations: 4 kB / 1.358 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/1.116, allocations: 7.984 kB / 1.358 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.116, allocations: 0 / 1.358 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.116, allocations: 0 / 1.358 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003155/1.116, allocations: 252.7 kB / 1.358 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003805/1.116, allocations: 0.6294 MB / 1.359 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/1.117, allocations: 125.7 kB / 1.359 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/1.117, allocations: 4 kB / 1.359 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.225e-05/1.117, allocations: 0 / 1.359 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/1.117, allocations: 14.98 kB / 1.359 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/1.117, allocations: 12.66 kB / 1.359 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001055/1.117, allocations: 149.2 kB / 1.359 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007747/1.118, allocations: 39.98 kB / 1.359 GB, free: 5.402 MB / 0.8542 GB 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.000178/1.118, allocations: 127.2 kB / 1.359 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002242/1.118, allocations: 161.6 kB / 1.359 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.118, allocations: 0 / 1.359 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/1.118, allocations: 117.7 kB / 1.36 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/1.118, allocations: 8.25 kB / 1.36 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/1.119, allocations: 224.2 kB / 1.36 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/1.119, allocations: 0.7309 MB / 1.361 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of SimCode: time 2.7e-07/1.119, allocations: 3.938 kB / 1.361 GB, free: 3.965 MB / 0.8542 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)