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.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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 4.168/4.168, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5892/4.757, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/5.006, allocations: 98.72 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.79/10.8, allocations: 2.184 GB / 2.813 GB, free: 163 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/10.8, allocations: 101.4 kB / 2.813 GB, free: 163 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.2602/11.06, allocations: 58.05 MB / 2.87 GB, free: 114.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/11.06, allocations: 8 kB / 2.87 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005675/11.06, allocations: 326.3 kB / 2.87 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/11.06, allocations: 0.5431 MB / 2.87 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.817e-05/11.06, allocations: 28 kB / 2.87 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/11.06, allocations: 51.94 kB / 2.87 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004132/11.07, allocations: 1.055 MB / 2.871 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/11.07, allocations: 0.7407 MB / 2.872 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/11.07, allocations: 4 kB / 2.872 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/11.07, allocations: 7.984 kB / 2.872 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/11.07, allocations: 20 kB / 2.872 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/11.08, allocations: 2.3 MB / 2.874 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/11.09, allocations: 0.7858 MB / 2.875 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/11.09, allocations: 273.3 kB / 2.876 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/11.09, allocations: 481.8 kB / 2.876 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001696/11.09, allocations: 440.8 kB / 2.876 GB, free: 108.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 1.131e-05/11.09, allocations: 4 kB / 2.876 GB, free: 108.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.005239/11.1, allocations: 0.7603 MB / 2.877 GB, free: 108.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/11.1, allocations: 214.3 kB / 2.877 GB, free: 108 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009123/11.1, allocations: 465.5 kB / 2.878 GB, free: 107.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001634/11.1, allocations: 25.7 kB / 2.878 GB, free: 107.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/11.1, allocations: 276.6 kB / 2.878 GB, free: 107.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/11.1, allocations: 233.3 kB / 2.878 GB, free: 107.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/11.1, allocations: 0 / 2.878 GB, free: 107.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001136/11.1, allocations: 366.8 kB / 2.879 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006812/11.1, allocations: 229.3 kB / 2.879 GB, free: 106.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007466/11.1, allocations: 329.5 kB / 2.879 GB, free: 106.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/11.1, allocations: 350.9 kB / 2.88 GB, free: 105.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/11.1, allocations: 0 / 2.88 GB, free: 105.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003674/11.1, allocations: 0.8123 MB / 2.88 GB, free: 105.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/11.1, allocations: 11.98 kB / 2.88 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/11.1, allocations: 0 / 2.88 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/11.11, allocations: 80.84 kB / 2.88 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/11.11, allocations: 155.8 kB / 2.881 GB, free: 104.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/11.11, allocations: 1.449 MB / 2.882 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/11.11, allocations: 75.59 kB / 2.882 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003179/11.11, allocations: 31.89 kB / 2.882 GB, free: 103.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000463/11.11, allocations: 120.8 kB / 2.882 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004497/11.11, allocations: 67.34 kB / 2.882 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009152/11.12, allocations: 1.076 MB / 2.883 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/11.12, allocations: 8 kB / 2.883 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/11.12, allocations: 7.906 kB / 2.883 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.5e-05/11.12, allocations: 3.984 kB / 2.883 GB, free: 101.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009106/11.13, allocations: 1.842 MB / 2.885 GB, free: 99.94 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/11.13, allocations: 0 / 2.885 GB, free: 99.94 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002408/11.13, allocations: 159.8 kB / 2.885 GB, free: 99.78 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/11.14, allocations: 80.78 kB / 2.885 GB, free: 99.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002264/11.14, allocations: 23.97 kB / 2.885 GB, free: 99.68 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004053/11.14, allocations: 1.468 MB / 2.887 GB, free: 98.09 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/11.14, allocations: 0 / 2.887 GB, free: 98.09 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005773/11.15, allocations: 0.9377 MB / 2.888 GB, free: 97.13 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005941/11.15, allocations: 1.352 MB / 2.889 GB, free: 95.75 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/11.15, allocations: 287.9 kB / 2.889 GB, free: 95.45 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003609/11.15, allocations: 4.062 kB / 2.889 GB, free: 95.45 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002208/11.16, allocations: 67.92 kB / 2.889 GB, free: 95.38 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/11.16, allocations: 48.7 kB / 2.889 GB, free: 95.34 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002178/11.16, allocations: 43.88 kB / 2.889 GB, free: 95.29 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.00107/11.16, allocations: 370.9 kB / 2.89 GB, free: 94.93 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004386/11.16, allocations: 415 kB / 2.89 GB, free: 94.53 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003652/11.17, allocations: 1.056 MB / 2.891 GB, free: 93.51 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003491/11.17, allocations: 0.7675 MB / 2.892 GB, free: 92.72 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/11.17, allocations: 0 / 2.892 GB, free: 92.72 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0019/11.17, allocations: 476.5 kB / 2.892 GB, free: 92.25 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/11.17, allocations: 147.7 kB / 2.893 GB, free: 92.11 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00924/11.18, allocations: 1.3 MB / 2.894 GB, free: 90.77 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001862/11.19, allocations: 1.103 MB / 2.895 GB, free: 89.64 MB / 0.823 GB Notification: Performance of SimCode: time 2.224e-06/11.19, allocations: 4 kB / 2.895 GB, free: 89.64 MB / 0.823 GB