Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.451/1.451, allocations: 289.8 MB / 297.1 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.00114, allocations: 177.3 kB / 366.3 MB, free: 2.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.1 MB / 0.6256 GB, free: 5.84 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008378/0.0008377, allocations: 90.06 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2339/0.2348, allocations: 122.4 MB / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5475/0.7823, allocations: 116.3 MB / 0.9726 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.9438, allocations: 139.7 MB / 1.109 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.9441, allocations: 88.41 kB / 1.109 GB, free: 8.727 MB / 0.7136 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.009386/0.9535, allocations: 3.295 MB / 1.112 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.9536, allocations: 8 kB / 1.112 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.9537, allocations: 15.81 kB / 1.112 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.954, allocations: 212.6 kB / 1.113 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.954, allocations: 7.984 kB / 1.113 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.954, allocations: 3.938 kB / 1.113 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001377/0.9542, allocations: 67.97 kB / 1.113 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.9544, allocations: 125.1 kB / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.9544, allocations: 0 / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.9544, allocations: 4 kB / 1.113 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.9544, allocations: 4 kB / 1.113 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.9549, allocations: 382.2 kB / 1.113 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.955, allocations: 109.1 kB / 1.113 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.9551, allocations: 89.8 kB / 1.113 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.9552, allocations: 0 / 1.113 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.9554, allocations: 170.7 kB / 1.113 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.9554, allocations: 0 / 1.113 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003871/0.9558, allocations: 203 kB / 1.114 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.9558, allocations: 114.8 kB / 1.114 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.956, allocations: 174.4 kB / 1.114 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.956, allocations: 26.55 kB / 1.114 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.9561, allocations: 96.12 kB / 1.114 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.9561, allocations: 27.59 kB / 1.114 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/0.9561, allocations: 0 / 1.114 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.9562, allocations: 326.8 kB / 1.114 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.008e-05/0.9563, allocations: 67.95 kB / 1.114 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.82e-05/0.9564, allocations: 81.69 kB / 1.115 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.9566, allocations: 72.52 kB / 1.115 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9566, allocations: 0 / 1.115 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002771/0.9569, allocations: 202.3 kB / 1.115 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.9569, allocations: 4 kB / 1.115 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.9569, allocations: 3.984 kB / 1.115 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.9569, allocations: 0 / 1.115 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.431e-05/0.957, allocations: 16.73 kB / 1.115 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.957, allocations: 4.031 kB / 1.115 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/0.9571, allocations: 4 kB / 1.115 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.9571, allocations: 8 kB / 1.115 GB, free: 2.605 MB / 0.7136 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.515e-05/0.9572, allocations: 142.6 kB / 1.115 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.9573, allocations: 19.81 kB / 1.115 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.9574, allocations: 59 kB / 1.115 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.9574, allocations: 12.02 kB / 1.115 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.9574, allocations: 0 / 1.115 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.9574, allocations: 1.031 kB / 1.115 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.9576, allocations: 194.2 kB / 1.115 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.9577, allocations: 0 / 1.115 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/0.9577, allocations: 11.91 kB / 1.115 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9577, allocations: 0 / 1.115 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.9577, allocations: 7.984 kB / 1.115 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.9578, allocations: 4 kB / 1.115 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9578, allocations: 0 / 1.115 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003353/0.9581, allocations: 255.3 kB / 1.116 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004582/0.9586, allocations: 0.6286 MB / 1.116 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.9587, allocations: 121.6 kB / 1.116 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.9588, allocations: 4.562 kB / 1.116 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.557e-05/0.9589, allocations: 4 kB / 1.116 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.9589, allocations: 7.984 kB / 1.116 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.9589, allocations: 15.91 kB / 1.116 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001096/0.9591, allocations: 144 kB / 1.116 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007977/0.9599, allocations: 43.92 kB / 1.116 GB, free: 0.8242 MB / 0.7136 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.0002299/0.9601, allocations: 136.6 kB / 1.117 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.9603, allocations: 153.7 kB / 1.117 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9603, allocations: 0 / 1.117 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.9605, allocations: 117.6 kB / 1.117 GB, free: 412 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.9606, allocations: 8.844 kB / 1.117 GB, free: 400 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.9611, allocations: 224.6 kB / 1.117 GB, free: 148 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.9614, allocations: 0.7348 MB / 1.118 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of SimCode: time 2.8e-07/0.9615, allocations: 0 / 1.118 GB, free: 15.38 MB / 0.7292 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)