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.BrighteningCoefficient.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.BrighteningCoefficient,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.391/4.391, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5364/4.928, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/5.157, allocations: 98.72 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.881/11.04, allocations: 2.186 GB / 2.815 GB, free: 160.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/11.04, allocations: 94.77 kB / 2.815 GB, free: 160.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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.3101/11.35, allocations: 68.16 MB / 2.881 GB, free: 102.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/11.35, allocations: 12 kB / 2.881 GB, free: 102.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/11.36, allocations: 0.8682 MB / 2.882 GB, free: 101.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/11.36, allocations: 0.6047 MB / 2.883 GB, free: 100.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/11.36, allocations: 32 kB / 2.883 GB, free: 100.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/11.36, allocations: 64 kB / 2.883 GB, free: 100.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004544/11.37, allocations: 1.481 MB / 2.884 GB, free: 99.77 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004215/11.37, allocations: 1.03 MB / 2.885 GB, free: 98.99 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.98e-05/11.37, allocations: 3.938 kB / 2.885 GB, free: 98.98 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002722/11.37, allocations: 4 kB / 2.885 GB, free: 98.98 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/11.37, allocations: 24 kB / 2.885 GB, free: 98.96 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/11.38, allocations: 3.026 MB / 2.888 GB, free: 96.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/11.38, allocations: 0.972 MB / 2.889 GB, free: 95.11 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/11.39, allocations: 447.1 kB / 2.89 GB, free: 94.68 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/11.39, allocations: 482.2 kB / 2.89 GB, free: 94.11 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001536/11.39, allocations: 0.6164 MB / 2.891 GB, free: 93.48 MB / 0.823 GB Notification: Performance of pre-optimization done (n=99): time 4.208e-06/11.39, allocations: 0 / 2.891 GB, free: 93.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=99): time 0.005493/11.39, allocations: 1.112 MB / 2.892 GB, free: 92.35 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/11.39, allocations: 218.6 kB / 2.892 GB, free: 92.09 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/11.4, allocations: 470 kB / 2.892 GB, free: 91.62 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005395/11.4, allocations: 29.7 kB / 2.892 GB, free: 91.59 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005109/11.4, allocations: 324.5 kB / 2.893 GB, free: 91.26 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008908/11.4, allocations: 311.2 kB / 2.893 GB, free: 90.95 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/11.4, allocations: 3.938 kB / 2.893 GB, free: 90.95 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003067/11.4, allocations: 374.8 kB / 2.893 GB, free: 90.57 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/11.4, allocations: 357.9 kB / 2.894 GB, free: 90.23 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/11.4, allocations: 473.4 kB / 2.894 GB, free: 89.73 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00417/11.41, allocations: 0.5142 MB / 2.895 GB, free: 89.22 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/11.41, allocations: 0 / 2.895 GB, free: 89.22 MB / 0.823 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00659/11.41, allocations: 1.167 MB / 2.896 GB, free: 88.05 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/11.41, allocations: 4 kB / 2.896 GB, free: 88.04 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/11.41, allocations: 0 / 2.896 GB, free: 88.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/11.42, allocations: 84.94 kB / 2.896 GB, free: 87.96 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003266/11.42, allocations: 275.4 kB / 2.896 GB, free: 87.69 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/11.42, allocations: 1.457 MB / 2.898 GB, free: 86.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/11.42, allocations: 131.4 kB / 2.898 GB, free: 85.97 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004107/11.42, allocations: 43.95 kB / 2.898 GB, free: 85.93 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (104): * Single equations (assignments): 101 * 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.000416/11.43, allocations: 128.7 kB / 2.898 GB, free: 85.79 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/11.43, allocations: 75.16 kB / 2.898 GB, free: 85.72 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00747/11.43, allocations: 1.496 MB / 2.899 GB, free: 84.21 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/11.43, allocations: 12 kB / 2.899 GB, free: 84.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/11.43, allocations: 0 / 2.899 GB, free: 84.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/11.43, allocations: 11.97 kB / 2.899 GB, free: 84.19 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/11.44, allocations: 0.9632 MB / 2.9 GB, free: 83.19 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/11.44, allocations: 0 / 2.9 GB, free: 83.19 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003109/11.44, allocations: 255.7 kB / 2.901 GB, free: 82.94 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/11.44, allocations: 84.72 kB / 2.901 GB, free: 82.85 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003416/11.44, allocations: 23.97 kB / 2.901 GB, free: 82.83 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/11.44, allocations: 1.476 MB / 2.902 GB, free: 81.23 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.872e-06/11.44, allocations: 0 / 2.902 GB, free: 81.23 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005186/11.45, allocations: 1.211 MB / 2.903 GB, free: 80 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007062/11.46, allocations: 1.637 MB / 2.905 GB, free: 78.33 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/11.46, allocations: 319.9 kB / 2.905 GB, free: 78 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003787/11.46, allocations: 3.984 kB / 2.905 GB, free: 78 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002671/11.46, allocations: 123.8 kB / 2.905 GB, free: 77.88 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003299/11.46, allocations: 64.89 kB / 2.905 GB, free: 77.81 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002693/11.46, allocations: 43.97 kB / 2.905 GB, free: 77.77 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0007547/11.46, allocations: 374.9 kB / 2.906 GB, free: 77.41 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003026/11.46, allocations: 466.8 kB / 2.906 GB, free: 76.95 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 (107): * Single equations (assignments): 104 * 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.002514/11.47, allocations: 1.067 MB / 2.907 GB, free: 75.93 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003538/11.47, allocations: 1.092 MB / 2.908 GB, free: 74.82 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/11.47, allocations: 0 / 2.908 GB, free: 74.82 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002225/11.47, allocations: 0.642 MB / 2.909 GB, free: 74.17 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/11.47, allocations: 149.8 kB / 2.909 GB, free: 74.02 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0077/11.48, allocations: 1.557 MB / 2.911 GB, free: 72.43 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/11.48, allocations: 1.182 MB / 2.912 GB, free: 71.23 MB / 0.823 GB Notification: Performance of SimCode: time 1.202e-06/11.48, allocations: 0 / 2.912 GB, free: 71.23 MB / 0.823 GB