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.ZenithAngle.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.ZenithAngle,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.324/4.324, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5849/4.909, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/5.161, allocations: 98.72 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.923/11.08, allocations: 2.184 GB / 2.813 GB, free: 163.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004886/11.08, allocations: 98.7 kB / 2.813 GB, free: 163.2 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.3046/11.39, allocations: 57.94 MB / 2.869 GB, free: 114.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 7.476e-05/11.39, allocations: 12 kB / 2.869 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006555/11.4, allocations: 330.3 kB / 2.87 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/11.4, allocations: 0.5426 MB / 2.87 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.473e-05/11.4, allocations: 24 kB / 2.87 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/11.4, allocations: 44 kB / 2.87 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00464/11.4, allocations: 1.051 MB / 2.871 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/11.41, allocations: 0.7402 MB / 2.872 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/11.41, allocations: 0 / 2.872 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/11.41, allocations: 3.906 kB / 2.872 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/11.41, allocations: 24 kB / 2.872 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007314/11.41, allocations: 2.299 MB / 2.874 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/11.42, allocations: 0.785 MB / 2.875 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006952/11.42, allocations: 271.3 kB / 2.875 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/11.42, allocations: 477.7 kB / 2.876 GB, free: 109.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/11.42, allocations: 418.2 kB / 2.876 GB, free: 109.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 3.807e-06/11.42, allocations: 0 / 2.876 GB, free: 109.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=72): time 0.003692/11.42, allocations: 0.7641 MB / 2.877 GB, free: 108.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/11.42, allocations: 222.2 kB / 2.877 GB, free: 108.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009567/11.42, allocations: 455.5 kB / 2.878 GB, free: 108 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002535/11.42, allocations: 29.7 kB / 2.878 GB, free: 107.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/11.42, allocations: 278 kB / 2.878 GB, free: 107.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/11.42, allocations: 231.8 kB / 2.878 GB, free: 107.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/11.42, allocations: 0 / 2.878 GB, free: 107.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001387/11.42, allocations: 368.1 kB / 2.878 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007178/11.43, allocations: 233.2 kB / 2.879 GB, free: 106.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008371/11.43, allocations: 325.6 kB / 2.879 GB, free: 106.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/11.43, allocations: 343 kB / 2.879 GB, free: 106.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/11.43, allocations: 0 / 2.879 GB, free: 106.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003764/11.43, allocations: 0.8122 MB / 2.88 GB, free: 105.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/11.43, allocations: 8.062 kB / 2.88 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/11.43, allocations: 4 kB / 2.88 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/11.43, allocations: 80.78 kB / 2.88 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/11.43, allocations: 151.8 kB / 2.88 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/11.44, allocations: 1.457 MB / 2.882 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/11.44, allocations: 75.59 kB / 2.882 GB, free: 103.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/11.44, allocations: 27.98 kB / 2.882 GB, free: 103.5 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 (76): * Single equations (assignments): 73 * 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.0002788/11.44, allocations: 120.8 kB / 2.882 GB, free: 103.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/11.44, allocations: 63.25 kB / 2.882 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005442/11.45, allocations: 1.08 MB / 2.883 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/11.45, allocations: 8 kB / 2.883 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/11.45, allocations: 3.938 kB / 2.883 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/11.45, allocations: 7.891 kB / 2.883 GB, free: 102.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005875/11.45, allocations: 1.815 MB / 2.885 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/11.45, allocations: 4 kB / 2.885 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001937/11.45, allocations: 163.8 kB / 2.885 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/11.46, allocations: 80.78 kB / 2.885 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003144/11.46, allocations: 15.98 kB / 2.885 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004589/11.46, allocations: 1.488 MB / 2.887 GB, free: 98.48 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/11.46, allocations: 0 / 2.887 GB, free: 98.48 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006149/11.47, allocations: 0.9337 MB / 2.887 GB, free: 97.52 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006313/11.47, allocations: 1.34 MB / 2.889 GB, free: 96.16 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009798/11.47, allocations: 291.9 kB / 2.889 GB, free: 95.86 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/11.47, allocations: 4 kB / 2.889 GB, free: 95.85 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002012/11.48, allocations: 67.94 kB / 2.889 GB, free: 95.79 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000371/11.48, allocations: 44.7 kB / 2.889 GB, free: 95.74 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002596/11.48, allocations: 43.91 kB / 2.889 GB, free: 95.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001076/11.48, allocations: 366.9 kB / 2.89 GB, free: 95.34 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004315/11.48, allocations: 419 kB / 2.89 GB, free: 94.93 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 (82): * Single equations (assignments): 79 * 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.002775/11.49, allocations: 1.064 MB / 2.891 GB, free: 93.91 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002532/11.49, allocations: 0.7596 MB / 2.892 GB, free: 93.13 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/11.49, allocations: 0 / 2.892 GB, free: 93.13 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001506/11.49, allocations: 468.6 kB / 2.892 GB, free: 92.66 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/11.49, allocations: 155.9 kB / 2.892 GB, free: 92.51 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/11.5, allocations: 1.296 MB / 2.894 GB, free: 91.18 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002204/11.51, allocations: 1.099 MB / 2.895 GB, free: 90.06 MB / 0.823 GB Notification: Performance of SimCode: time 2.925e-06/11.51, allocations: 0 / 2.895 GB, free: 90.06 MB / 0.823 GB