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.SkyBrightness.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.SkyBrightness,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.275/4.275, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5708/4.846, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/5.102, allocations: 98.72 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.681/10.78, allocations: 2.185 GB / 2.813 GB, free: 162.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/10.78, allocations: 93.52 kB / 2.813 GB, free: 162.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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.2481/11.03, allocations: 63.94 MB / 2.876 GB, free: 108.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/11.03, allocations: 8 kB / 2.876 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004694/11.04, allocations: 433.8 kB / 2.876 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/11.04, allocations: 0.5578 MB / 2.877 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/11.04, allocations: 28 kB / 2.877 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/11.04, allocations: 48 kB / 2.877 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002975/11.04, allocations: 1.112 MB / 2.878 GB, free: 106.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/11.04, allocations: 0.8162 MB / 2.879 GB, free: 106 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/11.04, allocations: 3.906 kB / 2.879 GB, free: 106 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/11.04, allocations: 0 / 2.879 GB, free: 106 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/11.04, allocations: 24 kB / 2.879 GB, free: 105.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007717/11.05, allocations: 2.501 MB / 2.881 GB, free: 103.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005978/11.06, allocations: 0.8075 MB / 2.882 GB, free: 103.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/11.06, allocations: 278.8 kB / 2.882 GB, free: 103.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001706/11.06, allocations: 474.1 kB / 2.883 GB, free: 102.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001759/11.06, allocations: 446.8 kB / 2.883 GB, free: 102 MB / 0.823 GB Notification: Performance of pre-optimization done (n=74): time 4.989e-06/11.06, allocations: 0 / 2.883 GB, free: 102 MB / 0.823 GB Notification: Performance of matching and sorting (n=74): time 0.006458/11.07, allocations: 0.7888 MB / 2.884 GB, free: 101.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/11.07, allocations: 222.3 kB / 2.884 GB, free: 101 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/11.07, allocations: 461.3 kB / 2.885 GB, free: 100.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003792/11.07, allocations: 29.7 kB / 2.885 GB, free: 100.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007987/11.07, allocations: 308.2 kB / 2.885 GB, free: 100.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/11.07, allocations: 232.5 kB / 2.885 GB, free: 99.95 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/11.07, allocations: 0 / 2.885 GB, free: 99.95 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003491/11.07, allocations: 366.8 kB / 2.886 GB, free: 99.59 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008526/11.08, allocations: 241.3 kB / 2.886 GB, free: 99.35 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000774/11.08, allocations: 341.5 kB / 2.886 GB, free: 98.99 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/11.08, allocations: 354.9 kB / 2.886 GB, free: 98.64 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/11.08, allocations: 3.938 kB / 2.886 GB, free: 98.64 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.004101/11.08, allocations: 0.8435 MB / 2.887 GB, free: 97.78 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/11.08, allocations: 8 kB / 2.887 GB, free: 97.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/11.08, allocations: 0 / 2.887 GB, free: 97.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/11.08, allocations: 76.84 kB / 2.887 GB, free: 97.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/11.08, allocations: 183.7 kB / 2.888 GB, free: 97.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/11.09, allocations: 1.457 MB / 2.889 GB, free: 95.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/11.09, allocations: 95.48 kB / 2.889 GB, free: 95.84 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/11.09, allocations: 31.97 kB / 2.889 GB, free: 95.81 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 (78): * Single equations (assignments): 75 * 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.000288/11.09, allocations: 116.8 kB / 2.889 GB, free: 95.69 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/11.09, allocations: 71.16 kB / 2.889 GB, free: 95.62 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/11.1, allocations: 1.103 MB / 2.89 GB, free: 94.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/11.1, allocations: 8 kB / 2.89 GB, free: 94.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/11.1, allocations: 0 / 2.89 GB, free: 94.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/11.1, allocations: 3.984 kB / 2.89 GB, free: 94.49 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/11.1, allocations: 0.7756 MB / 2.891 GB, free: 93.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/11.1, allocations: 4 kB / 2.891 GB, free: 93.68 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/11.1, allocations: 175.8 kB / 2.891 GB, free: 93.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009462/11.1, allocations: 88.77 kB / 2.891 GB, free: 93.41 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.565e-05/11.1, allocations: 19.98 kB / 2.891 GB, free: 93.39 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/11.1, allocations: 1.468 MB / 2.893 GB, free: 91.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/11.1, allocations: 0 / 2.893 GB, free: 91.8 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003668/11.11, allocations: 0.8849 MB / 2.894 GB, free: 90.89 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00375/11.11, allocations: 1.295 MB / 2.895 GB, free: 89.57 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006752/11.11, allocations: 287.9 kB / 2.895 GB, free: 89.27 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/11.11, allocations: 4 kB / 2.895 GB, free: 89.27 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/11.11, allocations: 87.91 kB / 2.895 GB, free: 89.18 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/11.11, allocations: 48.7 kB / 2.895 GB, free: 89.14 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/11.11, allocations: 31.98 kB / 2.895 GB, free: 89.11 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006712/11.11, allocations: 370.9 kB / 2.896 GB, free: 88.75 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00251/11.12, allocations: 430.9 kB / 2.896 GB, free: 88.32 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 (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.002287/11.12, allocations: 1.061 MB / 2.897 GB, free: 87.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002332/11.12, allocations: 0.7948 MB / 2.898 GB, free: 86.49 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/11.12, allocations: 0 / 2.898 GB, free: 86.49 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/11.12, allocations: 488.5 kB / 2.898 GB, free: 86 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/11.12, allocations: 147.5 kB / 2.899 GB, free: 85.86 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006665/11.13, allocations: 1.343 MB / 2.9 GB, free: 84.49 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/11.13, allocations: 1.126 MB / 2.901 GB, free: 83.34 MB / 0.823 GB Notification: Performance of SimCode: time 1.302e-06/11.13, allocations: 0 / 2.901 GB, free: 83.34 MB / 0.823 GB