Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.894/1.894, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009596/0.0009596, allocations: 185.2 kB / 490.8 MB, free: 1.926 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.133/1.133, allocations: 221.3 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008418/0.0008418, allocations: 95.97 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4125/0.4134, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.5926, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4961/1.089, allocations: 150.7 MB / 1.359 GB, free: 17.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/1.089, allocations: 79.56 kB / 1.359 GB, free: 17.01 MB / 0.823 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.00852/1.097, allocations: 3.347 MB / 1.362 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/1.098, allocations: 8.438 kB / 1.362 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/1.098, allocations: 15.19 kB / 1.362 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/1.098, allocations: 213.5 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/1.098, allocations: 2.219 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/1.098, allocations: 6.094 kB / 1.362 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001468/1.098, allocations: 82.02 kB / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/1.098, allocations: 124.9 kB / 1.363 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/1.098, allocations: 1.312 kB / 1.363 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/1.098, allocations: 0 / 1.363 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/1.098, allocations: 1.188 kB / 1.363 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/1.099, allocations: 380 kB / 1.363 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/1.099, allocations: 110.3 kB / 1.363 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/1.099, allocations: 87.45 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/1.099, allocations: 0.9062 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/1.099, allocations: 178.8 kB / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/1.099, allocations: 0 / 1.363 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003324/1.099, allocations: 187.8 kB / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/1.099, allocations: 110.7 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/1.1, allocations: 182.3 kB / 1.364 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/1.1, allocations: 26.98 kB / 1.364 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/1.1, allocations: 94.3 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/1.1, allocations: 29.91 kB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/1.1, allocations: 1.25 kB / 1.364 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.652e-05/1.1, allocations: 330 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.682e-05/1.1, allocations: 66.64 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.689e-05/1.1, allocations: 85.36 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/1.1, allocations: 69.23 kB / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.1, allocations: 0 / 1.364 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002764/1.1, allocations: 203.2 kB / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/1.1, allocations: 4.688 kB / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.1, allocations: 5.281 kB / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/1.1, allocations: 1.031 kB / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/1.101, allocations: 8.203 kB / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/1.101, allocations: 1.719 kB / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/1.101, allocations: 8.359 kB / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/1.101, allocations: 10.44 kB / 1.365 GB, free: 30.84 MB / 0.8386 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 9.115e-05/1.101, allocations: 136.6 kB / 1.365 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/1.101, allocations: 19.88 kB / 1.365 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/1.101, allocations: 70.8 kB / 1.365 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.101, allocations: 0.8438 kB / 1.365 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.101, allocations: 5.031 kB / 1.365 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.101, allocations: 1.641 kB / 1.365 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/1.101, allocations: 202.8 kB / 1.365 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.101, allocations: 1.125 kB / 1.365 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/1.101, allocations: 7.641 kB / 1.365 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/1.101, allocations: 5.188 kB / 1.365 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/1.101, allocations: 11.75 kB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.101, allocations: 1.188 kB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.101, allocations: 1.5 kB / 1.365 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003077/1.102, allocations: 255.3 kB / 1.365 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004299/1.102, allocations: 0.6295 MB / 1.366 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/1.102, allocations: 117.5 kB / 1.366 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/1.102, allocations: 6.281 kB / 1.366 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/1.102, allocations: 4.672 kB / 1.366 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/1.102, allocations: 9.062 kB / 1.366 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/1.102, allocations: 15.78 kB / 1.366 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.000102/1.102, allocations: 146.7 kB / 1.366 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000781/1.103, allocations: 41.14 kB / 1.366 GB, free: 29.69 MB / 0.8386 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.0001583/1.103, allocations: 142.4 kB / 1.366 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001861/1.104, allocations: 148.7 kB / 1.367 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.104, allocations: 0 / 1.367 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.483e-05/1.104, allocations: 120.8 kB / 1.367 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/1.104, allocations: 13.16 kB / 1.367 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/1.104, allocations: 225.3 kB / 1.367 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/1.105, allocations: 0.732 MB / 1.368 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.105, allocations: 0 / 1.368 GB, free: 28.71 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)