Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7044/0.7044, allocations: 127.4 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001082, allocations: 189.2 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.1 MB / 399.1 MB, free: 6.164 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 93.83 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3813/0.3825, allocations: 82.89 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.6094, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6316/1.241, allocations: 103.3 MB / 0.7219 GB, free: 9.012 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005508/1.242, allocations: 83.94 kB / 0.722 GB, free: 8.93 MB / 490.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.01535/1.257, allocations: 3.296 MB / 0.7252 GB, free: 5.594 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/1.257, allocations: 8 kB / 0.7252 GB, free: 5.586 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/1.257, allocations: 19.75 kB / 0.7252 GB, free: 5.566 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/1.258, allocations: 212.7 kB / 0.7254 GB, free: 5.316 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/1.258, allocations: 4 kB / 0.7254 GB, free: 5.312 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/1.258, allocations: 4 kB / 0.7254 GB, free: 5.309 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002235/1.258, allocations: 80.83 kB / 0.7255 GB, free: 5.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/1.258, allocations: 123.2 kB / 0.7256 GB, free: 5.098 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/1.258, allocations: 4 kB / 0.7256 GB, free: 5.094 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/1.258, allocations: 0 / 0.7256 GB, free: 5.094 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/1.258, allocations: 0 / 0.7256 GB, free: 5.094 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/1.259, allocations: 378.3 kB / 0.726 GB, free: 4.684 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/1.259, allocations: 121 kB / 0.7261 GB, free: 4.547 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/1.259, allocations: 85.75 kB / 0.7262 GB, free: 4.457 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/1.26, allocations: 0 / 0.7262 GB, free: 4.457 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/1.26, allocations: 170.7 kB / 0.7263 GB, free: 4.266 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/1.26, allocations: 0 / 0.7263 GB, free: 4.266 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.000543/1.26, allocations: 197.6 kB / 0.7265 GB, free: 4.066 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/1.26, allocations: 106.8 kB / 0.7266 GB, free: 3.938 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/1.261, allocations: 182.4 kB / 0.7268 GB, free: 3.754 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/1.261, allocations: 25.7 kB / 0.7268 GB, free: 3.723 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/1.261, allocations: 100 kB / 0.7269 GB, free: 3.621 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/1.261, allocations: 27.64 kB / 0.7269 GB, free: 3.594 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-06/1.261, allocations: 0 / 0.7269 GB, free: 3.594 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/1.261, allocations: 326.8 kB / 0.7272 GB, free: 3.266 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.662e-05/1.261, allocations: 63.97 kB / 0.7273 GB, free: 3.203 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/1.261, allocations: 88.08 kB / 0.7274 GB, free: 3.113 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/1.261, allocations: 63.95 kB / 0.7275 GB, free: 3.051 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.261, allocations: 8 kB / 0.7275 GB, free: 3.043 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000292/1.262, allocations: 201.3 kB / 0.7277 GB, free: 2.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.262, allocations: 4 kB / 0.7277 GB, free: 2.836 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.262, allocations: 0.7031 kB / 0.7277 GB, free: 2.836 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/1.262, allocations: 4 kB / 0.7277 GB, free: 2.832 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.963e-05/1.262, allocations: 4.062 kB / 0.7277 GB, free: 2.828 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.262, allocations: 8 kB / 0.7277 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/1.262, allocations: 7.891 kB / 0.7277 GB, free: 2.812 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/1.262, allocations: 12 kB / 0.7277 GB, free: 2.801 MB / 490.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.0001363/1.262, allocations: 138.7 kB / 0.7278 GB, free: 2.652 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/1.262, allocations: 15.81 kB / 0.7278 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/1.262, allocations: 75.03 kB / 0.7279 GB, free: 2.559 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.262, allocations: 4 kB / 0.7279 GB, free: 2.555 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.262, allocations: 0 / 0.7279 GB, free: 2.555 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/1.262, allocations: 0 / 0.7279 GB, free: 2.555 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/1.263, allocations: 198 kB / 0.7281 GB, free: 2.324 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.263, allocations: 4 kB / 0.7281 GB, free: 2.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/1.263, allocations: 8 kB / 0.7281 GB, free: 2.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/1.263, allocations: 0 / 0.7281 GB, free: 2.312 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/1.263, allocations: 8 kB / 0.7281 GB, free: 2.305 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.263, allocations: 0 / 0.7281 GB, free: 2.305 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.263, allocations: 3.906 kB / 0.7281 GB, free: 2.301 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003755/1.263, allocations: 267.3 kB / 0.7284 GB, free: 2.012 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005397/1.264, allocations: 0.6208 MB / 0.729 GB, free: 1.359 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/1.264, allocations: 125.6 kB / 0.7291 GB, free: 1.215 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.271e-05/1.264, allocations: 0 / 0.7291 GB, free: 1.215 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/1.264, allocations: 4 kB / 0.7291 GB, free: 1.211 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/1.264, allocations: 8 kB / 0.7291 GB, free: 1.203 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/1.264, allocations: 15.98 kB / 0.7291 GB, free: 1.188 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001226/1.264, allocations: 141.2 kB / 0.7293 GB, free: 1.051 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008438/1.265, allocations: 40 kB / 0.7293 GB, free: 1.012 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.000284/1.265, allocations: 143.9 kB / 0.7294 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002692/1.266, allocations: 153.7 kB / 0.7296 GB, free: 0.707 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.266, allocations: 0 / 0.7296 GB, free: 0.707 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/1.266, allocations: 129.7 kB / 0.7297 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/1.266, allocations: 7.375 kB / 0.7297 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/1.267, allocations: 220.3 kB / 0.7299 GB, free: 332 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/1.267, allocations: 0.7315 MB / 0.7306 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of SimCode: time 2.81e-07/1.267, allocations: 4 kB / 0.7306 GB, free: 15.56 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)