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.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.14/4.14, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5927/4.732, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/4.99, allocations: 98.72 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.725/10.72, allocations: 2.184 GB / 2.813 GB, free: 163.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003665/10.72, allocations: 97.17 kB / 2.813 GB, free: 163.1 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.2483/10.96, allocations: 57.34 MB / 2.869 GB, free: 115.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/10.96, allocations: 8 kB / 2.869 GB, free: 115.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004925/10.97, allocations: 330.3 kB / 2.869 GB, free: 115.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/10.97, allocations: 0.534 MB / 2.869 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/10.97, allocations: 27.94 kB / 2.87 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/10.97, allocations: 40 kB / 2.87 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003877/10.98, allocations: 1.044 MB / 2.871 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/10.98, allocations: 0.7232 MB / 2.871 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/10.98, allocations: 0 / 2.871 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/10.98, allocations: 0 / 2.871 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/10.98, allocations: 23.98 kB / 2.871 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008971/10.99, allocations: 2.252 MB / 2.873 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/10.99, allocations: 0.791 MB / 2.874 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/10.99, allocations: 261.8 kB / 2.875 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/10.99, allocations: 472.5 kB / 2.875 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00148/10.99, allocations: 416.6 kB / 2.875 GB, free: 109.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=70): time 5.741e-06/11, allocations: 7.922 kB / 2.875 GB, free: 109.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=70): time 0.004229/11, allocations: 0.745 MB / 2.876 GB, free: 109.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/11, allocations: 218.2 kB / 2.876 GB, free: 108.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009483/11, allocations: 457.7 kB / 2.877 GB, free: 108.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002366/11, allocations: 25.7 kB / 2.877 GB, free: 108.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/11, allocations: 271.2 kB / 2.877 GB, free: 108.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000282/11, allocations: 224.4 kB / 2.877 GB, free: 108 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/11, allocations: 0 / 2.877 GB, free: 108 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001435/11, allocations: 364.9 kB / 2.878 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006478/11, allocations: 223 kB / 2.878 GB, free: 107.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007201/11, allocations: 317.5 kB / 2.878 GB, free: 107.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/11, allocations: 346.9 kB / 2.878 GB, free: 106.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/11, allocations: 0 / 2.878 GB, free: 106.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00417/11.01, allocations: 0.7966 MB / 2.879 GB, free: 106.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/11.01, allocations: 11.98 kB / 2.879 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/11.01, allocations: 0 / 2.879 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/11.01, allocations: 80.84 kB / 2.879 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/11.01, allocations: 155.8 kB / 2.879 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/11.01, allocations: 1.445 MB / 2.881 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/11.02, allocations: 71.59 kB / 2.881 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/11.02, allocations: 35.88 kB / 2.881 GB, free: 104.2 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 (74): * Single equations (assignments): 71 * 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.0002762/11.02, allocations: 120.9 kB / 2.881 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/11.02, allocations: 67.19 kB / 2.881 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004877/11.02, allocations: 1.026 MB / 2.882 GB, free: 103 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/11.02, allocations: 8 kB / 2.882 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/11.02, allocations: 0 / 2.882 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/11.02, allocations: 7.984 kB / 2.882 GB, free: 102.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006187/11.03, allocations: 1.773 MB / 2.884 GB, free: 101.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/11.03, allocations: 0 / 2.884 GB, free: 101.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/11.03, allocations: 151.8 kB / 2.884 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000991/11.03, allocations: 88.7 kB / 2.884 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/11.03, allocations: 15.98 kB / 2.884 GB, free: 100.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/11.03, allocations: 1.461 MB / 2.886 GB, free: 99.28 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/11.03, allocations: 3.906 kB / 2.886 GB, free: 99.28 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003763/11.04, allocations: 0.8993 MB / 2.886 GB, free: 98.36 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004014/11.04, allocations: 1.325 MB / 2.888 GB, free: 97 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009596/11.04, allocations: 272 kB / 2.888 GB, free: 96.72 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/11.04, allocations: 12.03 kB / 2.888 GB, free: 96.71 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/11.04, allocations: 59.94 kB / 2.888 GB, free: 96.65 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003698/11.05, allocations: 60.56 kB / 2.888 GB, free: 96.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002765/11.05, allocations: 27.98 kB / 2.888 GB, free: 96.56 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001193/11.05, allocations: 366.9 kB / 2.888 GB, free: 96.21 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00561/11.05, allocations: 403.1 kB / 2.889 GB, free: 95.81 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 (77): * Single equations (assignments): 74 * 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.003996/11.06, allocations: 1.069 MB / 2.89 GB, free: 94.79 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003667/11.06, allocations: 0.7464 MB / 2.891 GB, free: 94.02 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/11.06, allocations: 0 / 2.891 GB, free: 94.02 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/11.06, allocations: 456 kB / 2.891 GB, free: 93.57 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/11.06, allocations: 149.8 kB / 2.891 GB, free: 93.42 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00788/11.07, allocations: 1.279 MB / 2.892 GB, free: 92.11 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/11.07, allocations: 1.08 MB / 2.894 GB, free: 91.01 MB / 0.823 GB Notification: Performance of SimCode: time 1.553e-06/11.07, allocations: 4 kB / 2.894 GB, free: 91 MB / 0.823 GB