Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.305/4.305, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6147/4.92, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/5.179, allocations: 98.72 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.709/10.89, allocations: 2.185 GB / 2.813 GB, free: 162.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/10.89, allocations: 97.89 kB / 2.813 GB, free: 162.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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.2817/11.17, allocations: 66.5 MB / 2.878 GB, free: 105.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/11.17, allocations: 12 kB / 2.878 GB, free: 105.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004889/11.18, allocations: 362 kB / 2.879 GB, free: 105.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/11.18, allocations: 0.5665 MB / 2.879 GB, free: 105 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/11.18, allocations: 28 kB / 2.879 GB, free: 105 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/11.18, allocations: 51.91 kB / 2.879 GB, free: 105 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003003/11.18, allocations: 1.102 MB / 2.88 GB, free: 104.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/11.18, allocations: 0.8045 MB / 2.881 GB, free: 103.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/11.18, allocations: 0 / 2.881 GB, free: 103.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/11.18, allocations: 4 kB / 2.881 GB, free: 103.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/11.18, allocations: 23.98 kB / 2.881 GB, free: 103.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007652/11.19, allocations: 2.459 MB / 2.884 GB, free: 101.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/11.19, allocations: 0.7258 MB / 2.884 GB, free: 100.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/11.19, allocations: 270.8 kB / 2.885 GB, free: 100.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/11.19, allocations: 478.1 kB / 2.885 GB, free: 100.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/11.2, allocations: 438.7 kB / 2.885 GB, free: 99.64 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 3.977e-06/11.2, allocations: 0 / 2.885 GB, free: 99.64 MB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.004419/11.2, allocations: 0.8395 MB / 2.886 GB, free: 98.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/11.2, allocations: 218.3 kB / 2.887 GB, free: 98.54 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/11.2, allocations: 466.1 kB / 2.887 GB, free: 98.07 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002784/11.2, allocations: 25.7 kB / 2.887 GB, free: 98.04 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/11.2, allocations: 304.2 kB / 2.887 GB, free: 97.74 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000299/11.2, allocations: 232.5 kB / 2.887 GB, free: 97.51 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/11.2, allocations: 7.938 kB / 2.887 GB, free: 97.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001258/11.2, allocations: 366.8 kB / 2.888 GB, free: 97.13 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007349/11.2, allocations: 237.3 kB / 2.888 GB, free: 96.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000987/11.2, allocations: 333.5 kB / 2.888 GB, free: 96.55 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/11.21, allocations: 414.9 kB / 2.889 GB, free: 96.14 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/11.21, allocations: 0 / 2.889 GB, free: 96.14 MB / 0.823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0043/11.21, allocations: 0.8864 MB / 2.89 GB, free: 95.24 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/11.21, allocations: 8.062 kB / 2.89 GB, free: 95.23 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/11.21, allocations: 0 / 2.89 GB, free: 95.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/11.21, allocations: 84.78 kB / 2.89 GB, free: 95.15 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/11.21, allocations: 159.8 kB / 2.89 GB, free: 94.99 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/11.22, allocations: 1.453 MB / 2.891 GB, free: 93.42 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/11.22, allocations: 83.48 kB / 2.891 GB, free: 93.34 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/11.22, allocations: 31.98 kB / 2.891 GB, free: 93.3 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.0003131/11.22, allocations: 116.8 kB / 2.892 GB, free: 93.18 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/11.22, allocations: 67.16 kB / 2.892 GB, free: 93.12 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007393/11.23, allocations: 1.142 MB / 2.893 GB, free: 91.96 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/11.23, allocations: 11.91 kB / 2.893 GB, free: 91.95 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/11.23, allocations: 3.938 kB / 2.893 GB, free: 91.95 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/11.23, allocations: 3.984 kB / 2.893 GB, free: 91.94 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/11.23, allocations: 0.7633 MB / 2.893 GB, free: 91.14 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/11.23, allocations: 0 / 2.893 GB, free: 91.14 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/11.23, allocations: 163.8 kB / 2.894 GB, free: 90.98 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/11.23, allocations: 80.78 kB / 2.894 GB, free: 90.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/11.23, allocations: 19.97 kB / 2.894 GB, free: 90.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003284/11.24, allocations: 1.472 MB / 2.895 GB, free: 89.29 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/11.24, allocations: 0 / 2.895 GB, free: 89.29 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004685/11.24, allocations: 0.9357 MB / 2.896 GB, free: 88.32 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004337/11.24, allocations: 1.334 MB / 2.897 GB, free: 86.96 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008197/11.25, allocations: 291.9 kB / 2.898 GB, free: 86.66 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/11.25, allocations: 0 / 2.898 GB, free: 86.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/11.25, allocations: 71.92 kB / 2.898 GB, free: 86.59 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/11.25, allocations: 48.7 kB / 2.898 GB, free: 86.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/11.25, allocations: 31.98 kB / 2.898 GB, free: 86.51 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0007454/11.25, allocations: 378.9 kB / 2.898 GB, free: 86.14 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002841/11.25, allocations: 423 kB / 2.899 GB, free: 85.73 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.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * 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.002613/11.25, allocations: 1.07 MB / 2.9 GB, free: 84.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002559/11.26, allocations: 0.7713 MB / 2.9 GB, free: 83.91 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.465e-06/11.26, allocations: 128 / 2.9 GB, free: 83.91 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001353/11.26, allocations: 476.5 kB / 2.901 GB, free: 83.43 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/11.26, allocations: 147.7 kB / 2.901 GB, free: 83.29 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/11.27, allocations: 1.352 MB / 2.902 GB, free: 81.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002209/11.27, allocations: 1.119 MB / 2.903 GB, free: 80.76 MB / 0.823 GB Notification: Performance of SimCode: time 2.084e-06/11.27, allocations: 0 / 2.903 GB, free: 80.76 MB / 0.823 GB