Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.356/2.356, allocations: 248.6 MB / 255.9 MB, free: 1.211 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001651/0.001651, allocations: 182.1 kB / 315.1 MB, free: 9.605 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.1 MB / 0.5658 GB, free: 14.08 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001324/0.001323, allocations: 85.62 kB / 0.6699 GB, free: 52 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2969/0.2983, allocations: 112.4 MB / 0.7797 GB, free: 10.61 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.585, allocations: 106.2 MB / 0.8835 GB, free: 264 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5869/1.172, allocations: 132.2 MB / 1.013 GB, free: 14.44 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/1.172, allocations: 79.95 kB / 1.013 GB, free: 14.36 MB / 0.659 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.0154/1.188, allocations: 3.311 MB / 1.016 GB, free: 11.09 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/1.188, allocations: 8 kB / 1.016 GB, free: 11.09 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.149e-05/1.188, allocations: 19.75 kB / 1.016 GB, free: 11.07 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/1.188, allocations: 221.4 kB / 1.016 GB, free: 10.81 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/1.188, allocations: 1.875 kB / 1.016 GB, free: 10.81 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/1.188, allocations: 7.188 kB / 1.016 GB, free: 10.8 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002327/1.189, allocations: 75.95 kB / 1.016 GB, free: 10.73 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/1.189, allocations: 119.3 kB / 1.016 GB, free: 10.6 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.189, allocations: 0 / 1.016 GB, free: 10.6 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/1.189, allocations: 3.938 kB / 1.016 GB, free: 10.6 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.189, allocations: 5.125 kB / 1.016 GB, free: 10.59 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/1.19, allocations: 375.7 kB / 1.017 GB, free: 10.19 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/1.19, allocations: 115.9 kB / 1.017 GB, free: 10.06 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/1.19, allocations: 87.34 kB / 1.017 GB, free: 9.969 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/1.19, allocations: 3.938 kB / 1.017 GB, free: 9.965 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003018/1.191, allocations: 164.8 kB / 1.017 GB, free: 9.781 MB / 0.659 GB Notification: Performance of pre-optimization done (n=10): time 2.255e-06/1.191, allocations: 0 / 1.017 GB, free: 9.781 MB / 0.659 GB Notification: Performance of matching and sorting (n=10): time 0.0006584/1.191, allocations: 200.7 kB / 1.017 GB, free: 9.582 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/1.191, allocations: 109.2 kB / 1.017 GB, free: 9.453 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/1.192, allocations: 174.4 kB / 1.017 GB, free: 9.277 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/1.192, allocations: 29.7 kB / 1.018 GB, free: 9.242 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/1.192, allocations: 92.14 kB / 1.018 GB, free: 9.148 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/1.192, allocations: 23.64 kB / 1.018 GB, free: 9.125 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/1.192, allocations: 0 / 1.018 GB, free: 9.125 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.192, allocations: 331.5 kB / 1.018 GB, free: 8.793 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/1.192, allocations: 72 kB / 1.018 GB, free: 8.723 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/1.192, allocations: 81.67 kB / 1.018 GB, free: 8.637 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/1.193, allocations: 67.95 kB / 1.018 GB, free: 8.57 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.193, allocations: 0 / 1.018 GB, free: 8.57 MB / 0.659 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005458/1.193, allocations: 205.3 kB / 1.018 GB, free: 8.363 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/1.193, allocations: 6.344 kB / 1.018 GB, free: 8.359 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/1.193, allocations: 0 / 1.018 GB, free: 8.359 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.193, allocations: 0 / 1.018 GB, free: 8.359 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/1.193, allocations: 16.81 kB / 1.018 GB, free: 8.344 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/1.193, allocations: 0 / 1.018 GB, free: 8.344 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/1.194, allocations: 7.984 kB / 1.018 GB, free: 8.336 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/1.194, allocations: 13.91 kB / 1.018 GB, free: 8.324 MB / 0.659 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.0001671/1.194, allocations: 138.7 kB / 1.019 GB, free: 8.176 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/1.194, allocations: 15.81 kB / 1.019 GB, free: 8.16 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/1.194, allocations: 71.86 kB / 1.019 GB, free: 8.094 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/1.194, allocations: 0 / 1.019 GB, free: 8.094 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.194, allocations: 0 / 1.019 GB, free: 8.094 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/1.194, allocations: 5.5 kB / 1.019 GB, free: 8.09 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/1.195, allocations: 198.2 kB / 1.019 GB, free: 7.859 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.195, allocations: 0 / 1.019 GB, free: 7.859 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/1.195, allocations: 11.94 kB / 1.019 GB, free: 7.848 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/1.195, allocations: 0 / 1.019 GB, free: 7.848 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.355e-05/1.195, allocations: 8 kB / 1.019 GB, free: 7.84 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/1.195, allocations: 0 / 1.019 GB, free: 7.84 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.195, allocations: 0 / 1.019 GB, free: 7.84 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006572/1.195, allocations: 263.3 kB / 1.019 GB, free: 7.555 MB / 0.659 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008089/1.196, allocations: 0.632 MB / 1.02 GB, free: 6.895 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/1.197, allocations: 121.6 kB / 1.02 GB, free: 6.758 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/1.197, allocations: 8 kB / 1.02 GB, free: 6.75 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/1.197, allocations: 4 kB / 1.02 GB, free: 6.746 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/1.197, allocations: 4 kB / 1.02 GB, free: 6.742 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/1.197, allocations: 11.98 kB / 1.02 GB, free: 6.73 MB / 0.659 GB Notification: Performance of sort global known variables: time 0.0002193/1.197, allocations: 149.2 kB / 1.02 GB, free: 6.586 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.001215/1.198, allocations: 37.59 kB / 1.02 GB, free: 6.551 MB / 0.659 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.0003602/1.199, allocations: 139.1 kB / 1.02 GB, free: 6.402 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.000447/1.199, allocations: 153.6 kB / 1.02 GB, free: 6.246 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.199, allocations: 0 / 1.02 GB, free: 6.246 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/1.2, allocations: 118.8 kB / 1.02 GB, free: 6.125 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/1.2, allocations: 13.41 kB / 1.02 GB, free: 6.109 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007881/1.201, allocations: 231.2 kB / 1.021 GB, free: 5.859 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000465/1.201, allocations: 0.7309 MB / 1.021 GB, free: 5.102 MB / 0.659 GB Notification: Performance of SimCode: time 1.694e-06/1.201, allocations: 0 / 1.021 GB, free: 5.102 MB / 0.659 GB