Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 3.988/3.988, allocations: 433 MB / 440.3 MB, free: 24.69 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2539/4.242, allocations: 104.3 MB / 0.5319 GB, free: 4.535 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6563/4.898, allocations: 98.69 MB / 0.6283 GB, free: 0.6758 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2503/5.149, allocations: 124.9 MB / 0.7503 GB, free: 4.27 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003922/5.149, allocations: 83.89 kB / 0.7503 GB, free: 4.188 MB / 0.6121 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.01505/5.164, allocations: 3.156 MB / 0.7534 GB, free: 0.9766 MB / 0.6121 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/5.164, allocations: 8 kB / 0.7534 GB, free: 0.9688 MB / 0.6121 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.274e-05/5.164, allocations: 15.81 kB / 0.7535 GB, free: 0.9531 MB / 0.6121 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/5.165, allocations: 208.4 kB / 0.7537 GB, free: 0.707 MB / 0.6121 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/5.165, allocations: 4 kB / 0.7537 GB, free: 0.7031 MB / 0.6121 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/5.165, allocations: 0 / 0.7537 GB, free: 0.7031 MB / 0.6121 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002298/5.165, allocations: 63.97 kB / 0.7537 GB, free: 0.6406 MB / 0.6121 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/5.165, allocations: 123.3 kB / 0.7538 GB, free: 0.5078 MB / 0.6121 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/5.166, allocations: 0 / 0.7538 GB, free: 0.5078 MB / 0.6121 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/5.166, allocations: 0 / 0.7538 GB, free: 0.5078 MB / 0.6121 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/5.166, allocations: 4 kB / 0.7538 GB, free: 0.5039 MB / 0.6121 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006161/5.166, allocations: 374.3 kB / 0.7542 GB, free: 100 kB / 0.6121 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/5.166, allocations: 109 kB / 0.7543 GB, free: 15.97 MB / 0.6277 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/5.167, allocations: 81.75 kB / 0.7544 GB, free: 15.89 MB / 0.6277 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/5.167, allocations: 0 / 0.7544 GB, free: 15.89 MB / 0.6277 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002771/5.167, allocations: 166.7 kB / 0.7545 GB, free: 15.7 MB / 0.6277 GB Notification: Performance of pre-optimization done (n=10): time 2.294e-06/5.167, allocations: 0 / 0.7545 GB, free: 15.7 MB / 0.6277 GB Notification: Performance of matching and sorting (n=10): time 0.0005769/5.168, allocations: 185.4 kB / 0.7547 GB, free: 15.51 MB / 0.6277 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/5.168, allocations: 110.8 kB / 0.7548 GB, free: 15.38 MB / 0.6277 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/5.168, allocations: 170.7 kB / 0.755 GB, free: 15.2 MB / 0.6277 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/5.168, allocations: 25.7 kB / 0.755 GB, free: 15.17 MB / 0.6277 GB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/5.168, allocations: 104.1 kB / 0.7551 GB, free: 15.07 MB / 0.6277 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/5.168, allocations: 23.7 kB / 0.7551 GB, free: 15.04 MB / 0.6277 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/5.168, allocations: 0 / 0.7551 GB, free: 15.04 MB / 0.6277 GB Notification: Performance of setup shared object (initialization): time 0.0001422/5.168, allocations: 326.8 kB / 0.7554 GB, free: 14.71 MB / 0.6277 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/5.168, allocations: 67.84 kB / 0.7555 GB, free: 14.65 MB / 0.6277 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/5.169, allocations: 77.62 kB / 0.7556 GB, free: 14.57 MB / 0.6277 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/5.169, allocations: 67.95 kB / 0.7556 GB, free: 14.5 MB / 0.6277 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/5.169, allocations: 3.906 kB / 0.7556 GB, free: 14.5 MB / 0.6277 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005038/5.169, allocations: 193.5 kB / 0.7558 GB, free: 14.3 MB / 0.6277 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/5.169, allocations: 4 kB / 0.7558 GB, free: 14.3 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/5.169, allocations: 0 / 0.7558 GB, free: 14.3 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/5.17, allocations: 3.906 kB / 0.7558 GB, free: 14.29 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/5.17, allocations: 8 kB / 0.7558 GB, free: 14.29 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/5.17, allocations: 0 / 0.7558 GB, free: 14.29 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-05/5.17, allocations: 7.938 kB / 0.7559 GB, free: 14.28 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/5.17, allocations: 8 kB / 0.7559 GB, free: 14.27 MB / 0.6277 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 (5): * Single equations (assignments): 4 * 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.0001474/5.17, allocations: 142.7 kB / 0.756 GB, free: 14.12 MB / 0.6277 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/5.17, allocations: 15.81 kB / 0.756 GB, free: 14.1 MB / 0.6277 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/5.17, allocations: 78.95 kB / 0.7561 GB, free: 14.02 MB / 0.6277 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/5.17, allocations: 0 / 0.7561 GB, free: 14.02 MB / 0.6277 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/5.17, allocations: 0 / 0.7561 GB, free: 14.02 MB / 0.6277 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/5.17, allocations: 0 / 0.7561 GB, free: 14.02 MB / 0.6277 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/5.171, allocations: 194.3 kB / 0.7563 GB, free: 13.8 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/5.171, allocations: 0 / 0.7563 GB, free: 13.8 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/5.171, allocations: 15.89 kB / 0.7563 GB, free: 13.78 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/5.171, allocations: 4 kB / 0.7563 GB, free: 13.78 MB / 0.6277 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/5.171, allocations: 4 kB / 0.7563 GB, free: 13.77 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/5.171, allocations: 64 / 0.7563 GB, free: 13.77 MB / 0.6277 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/5.171, allocations: 4 kB / 0.7563 GB, free: 13.77 MB / 0.6277 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005453/5.171, allocations: 255.3 kB / 0.7565 GB, free: 13.49 MB / 0.6277 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006619/5.172, allocations: 0.6209 MB / 0.7572 GB, free: 12.84 MB / 0.6277 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/5.172, allocations: 117.7 kB / 0.7573 GB, free: 12.71 MB / 0.6277 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/5.172, allocations: 4 kB / 0.7573 GB, free: 12.7 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/5.172, allocations: 7.984 kB / 0.7573 GB, free: 12.7 MB / 0.6277 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/5.173, allocations: 8 kB / 0.7573 GB, free: 12.69 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/5.173, allocations: 15.94 kB / 0.7573 GB, free: 12.67 MB / 0.6277 GB Notification: Performance of sort global known variables: time 0.0001792/5.173, allocations: 144.1 kB / 0.7574 GB, free: 12.53 MB / 0.6277 GB Notification: Performance of remove unused functions: time 0.001188/5.174, allocations: 35.94 kB / 0.7575 GB, free: 12.5 MB / 0.6277 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 (5): * Single equations (assignments): 4 * 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.0003019/5.174, allocations: 130.5 kB / 0.7576 GB, free: 12.36 MB / 0.6277 GB Notification: Performance of simCode: created initialization part: time 0.0003311/5.175, allocations: 145.6 kB / 0.7577 GB, free: 12.21 MB / 0.6277 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/5.175, allocations: 0 / 0.7577 GB, free: 12.21 MB / 0.6277 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/5.175, allocations: 117.8 kB / 0.7578 GB, free: 12.09 MB / 0.6277 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/5.175, allocations: 16.16 kB / 0.7579 GB, free: 12.07 MB / 0.6277 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/5.176, allocations: 216.9 kB / 0.7581 GB, free: 11.83 MB / 0.6277 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/5.176, allocations: 0.7358 MB / 0.7588 GB, free: 11.07 MB / 0.6277 GB Notification: Performance of SimCode: time 1.142e-06/5.176, allocations: 0 / 0.7588 GB, free: 11.07 MB / 0.6277 GB