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.WallSolarAzimuth.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.WallSolarAzimuth,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.11/4.11, allocations: 433 MB / 440.3 MB, free: 24.7 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2939/4.404, allocations: 104.3 MB / 0.5319 GB, free: 4.488 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6011/5.005, allocations: 98.69 MB / 0.6283 GB, free: 0.6562 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.688/10.69, allocations: 2.186 GB / 2.814 GB, free: 224.8 MB / 0.8152 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/10.69, allocations: 89.84 kB / 2.814 GB, free: 224.8 MB / 0.8152 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.321/11.01, allocations: 68.11 MB / 2.881 GB, free: 186.8 MB / 0.8152 GB Notification: Performance of prepare preOptimizeDAE: time 9.309e-05/11.01, allocations: 11.98 kB / 2.881 GB, free: 186.8 MB / 0.8152 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005808/11.02, allocations: 338 kB / 2.881 GB, free: 186.4 MB / 0.8152 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/11.02, allocations: 0.5923 MB / 2.882 GB, free: 185.9 MB / 0.8152 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/11.02, allocations: 28 kB / 2.882 GB, free: 185.9 MB / 0.8152 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004608/11.02, allocations: 52 kB / 2.882 GB, free: 185.8 MB / 0.8152 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005159/11.03, allocations: 1.131 MB / 2.883 GB, free: 185 MB / 0.8152 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004709/11.03, allocations: 0.836 MB / 2.884 GB, free: 184.3 MB / 0.8152 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.568e-05/11.03, allocations: 7.844 kB / 2.884 GB, free: 184.3 MB / 0.8152 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003979/11.03, allocations: 4 kB / 2.884 GB, free: 184.3 MB / 0.8152 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/11.03, allocations: 20 kB / 2.884 GB, free: 184.3 MB / 0.8152 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/11.05, allocations: 2.634 MB / 2.886 GB, free: 182.2 MB / 0.8152 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005164/11.05, allocations: 0.77 MB / 2.887 GB, free: 181.6 MB / 0.8152 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/11.05, allocations: 293 kB / 2.887 GB, free: 181.5 MB / 0.8152 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/11.05, allocations: 481.8 kB / 2.888 GB, free: 180.9 MB / 0.8152 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001289/11.06, allocations: 456 kB / 2.888 GB, free: 180.6 MB / 0.8152 GB Notification: Performance of pre-optimization done (n=80): time 5.23e-06/11.06, allocations: 0 / 2.888 GB, free: 180.6 MB / 0.8152 GB Notification: Performance of matching and sorting (n=80): time 0.004579/11.06, allocations: 0.8568 MB / 2.889 GB, free: 179.9 MB / 0.8152 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/11.06, allocations: 221.5 kB / 2.889 GB, free: 179.6 MB / 0.8152 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/11.06, allocations: 493 kB / 2.89 GB, free: 179.3 MB / 0.8152 GB Notification: Performance of collectPreVariables (initialization): time 0.0003326/11.06, allocations: 29.69 kB / 2.89 GB, free: 179.2 MB / 0.8152 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/11.06, allocations: 320.7 kB / 2.89 GB, free: 178.9 MB / 0.8152 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003781/11.06, allocations: 248.8 kB / 2.89 GB, free: 178.7 MB / 0.8152 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.232e-05/11.06, allocations: 0 / 2.89 GB, free: 178.7 MB / 0.8152 GB Notification: Performance of setup shared object (initialization): time 0.0001562/11.06, allocations: 371.7 kB / 2.891 GB, free: 178.4 MB / 0.8152 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/11.06, allocations: 253.4 kB / 2.891 GB, free: 178.2 MB / 0.8152 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008311/11.07, allocations: 348.6 kB / 2.891 GB, free: 178 MB / 0.8152 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002758/11.07, allocations: 414.5 kB / 2.892 GB, free: 177.7 MB / 0.8152 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.1e-05/11.07, allocations: 4 kB / 2.892 GB, free: 177.7 MB / 0.8152 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005187/11.07, allocations: 0.9119 MB / 2.893 GB, free: 177 MB / 0.8152 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/11.07, allocations: 4 kB / 2.893 GB, free: 177 MB / 0.8152 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/11.07, allocations: 4 kB / 2.893 GB, free: 177 MB / 0.8152 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/11.07, allocations: 88.52 kB / 2.893 GB, free: 176.9 MB / 0.8152 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/11.08, allocations: 175.6 kB / 2.893 GB, free: 176.7 MB / 0.8152 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/11.08, allocations: 1.452 MB / 2.894 GB, free: 175.2 MB / 0.8152 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/11.08, allocations: 75.5 kB / 2.894 GB, free: 175.2 MB / 0.8152 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/11.08, allocations: 47.08 kB / 2.894 GB, free: 175.1 MB / 0.8152 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 (86): * Single equations (assignments): 83 * 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.0003414/11.08, allocations: 113.8 kB / 2.895 GB, free: 175 MB / 0.8152 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/11.08, allocations: 83.05 kB / 2.895 GB, free: 174.9 MB / 0.8152 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0089/11.09, allocations: 1.187 MB / 2.896 GB, free: 174 MB / 0.8152 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/11.09, allocations: 12 kB / 2.896 GB, free: 174 MB / 0.8152 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/11.09, allocations: 0 / 2.896 GB, free: 174 MB / 0.8152 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.584e-05/11.09, allocations: 3.984 kB / 2.896 GB, free: 174 MB / 0.8152 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/11.1, allocations: 1.995 MB / 2.898 GB, free: 172 MB / 0.8152 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/11.1, allocations: 4 kB / 2.898 GB, free: 172 MB / 0.8152 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/11.11, allocations: 175.8 kB / 2.898 GB, free: 171.8 MB / 0.8152 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/11.11, allocations: 80.78 kB / 2.898 GB, free: 171.8 MB / 0.8152 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002375/11.11, allocations: 15.98 kB / 2.898 GB, free: 171.7 MB / 0.8152 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/11.11, allocations: 1.492 MB / 2.899 GB, free: 170.1 MB / 0.8152 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/11.11, allocations: 4 kB / 2.899 GB, free: 170.1 MB / 0.8152 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004459/11.11, allocations: 1.016 MB / 2.9 GB, free: 169.1 MB / 0.8152 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004608/11.12, allocations: 1.442 MB / 2.902 GB, free: 167.6 MB / 0.8152 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/11.12, allocations: 303.8 kB / 2.902 GB, free: 167.3 MB / 0.8152 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005097/11.12, allocations: 0 / 2.902 GB, free: 167.3 MB / 0.8152 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002409/11.12, allocations: 67.84 kB / 2.902 GB, free: 167.2 MB / 0.8152 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003865/11.12, allocations: 60.69 kB / 2.902 GB, free: 167.2 MB / 0.8152 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/11.12, allocations: 35.98 kB / 2.902 GB, free: 167.1 MB / 0.8152 GB Notification: Performance of sort global known variables: time 0.001102/11.13, allocations: 390.9 kB / 2.903 GB, free: 166.8 MB / 0.8152 GB Notification: Performance of remove unused functions: time 0.004696/11.13, allocations: 438.9 kB / 2.903 GB, free: 166.3 MB / 0.8152 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 (90): * Single equations (assignments): 87 * 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.003784/11.13, allocations: 1.063 MB / 2.904 GB, free: 165.3 MB / 0.8152 GB Notification: Performance of simCode: created initialization part: time 0.002877/11.14, allocations: 0.8187 MB / 2.905 GB, free: 164.5 MB / 0.8152 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/11.14, allocations: 4 kB / 2.905 GB, free: 164.5 MB / 0.8152 GB Notification: Performance of simCode: created simulation system equations: time 0.001378/11.14, allocations: 496.4 kB / 2.905 GB, free: 164 MB / 0.8152 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/11.14, allocations: 153.8 kB / 2.906 GB, free: 163.8 MB / 0.8152 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/11.15, allocations: 1.413 MB / 2.907 GB, free: 162.4 MB / 0.8152 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002793/11.15, allocations: 1.15 MB / 2.908 GB, free: 161.2 MB / 0.8152 GB Notification: Performance of SimCode: time 2.425e-06/11.15, allocations: 0 / 2.908 GB, free: 161.2 MB / 0.8152 GB