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.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.158/4.158, allocations: 433 MB / 440.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5368/4.695, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/4.93, allocations: 98.72 MB / 0.6283 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.945/10.88, allocations: 2.185 GB / 2.813 GB, free: 94.31 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/10.88, allocations: 94.64 kB / 2.813 GB, free: 94.26 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.2457/11.12, allocations: 57.5 MB / 2.869 GB, free: 44.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/11.12, allocations: 8 kB / 2.869 GB, free: 44.89 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/11.13, allocations: 330.4 kB / 2.87 GB, free: 44.57 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/11.13, allocations: 0.5491 MB / 2.87 GB, free: 43.98 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/11.13, allocations: 24 kB / 2.87 GB, free: 43.96 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/11.13, allocations: 51.94 kB / 2.87 GB, free: 43.91 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002748/11.13, allocations: 1.046 MB / 2.871 GB, free: 42.86 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/11.13, allocations: 0.7293 MB / 2.872 GB, free: 42.09 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/11.13, allocations: 0 / 2.872 GB, free: 42.09 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/11.13, allocations: 7.938 kB / 2.872 GB, free: 42.09 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/11.13, allocations: 20 kB / 2.872 GB, free: 42.07 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006891/11.14, allocations: 2.274 MB / 2.874 GB, free: 39.73 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/11.14, allocations: 0.7052 MB / 2.875 GB, free: 39.02 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000683/11.14, allocations: 266.8 kB / 2.875 GB, free: 38.76 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/11.14, allocations: 470.1 kB / 2.876 GB, free: 38.21 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/11.14, allocations: 422.8 kB / 2.876 GB, free: 37.77 MB / 0.823 GB Notification: Performance of pre-optimization done (n=71): time 4.609e-06/11.14, allocations: 0 / 2.876 GB, free: 37.77 MB / 0.823 GB Notification: Performance of matching and sorting (n=71): time 0.003766/11.15, allocations: 0.7537 MB / 2.877 GB, free: 37.01 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/11.15, allocations: 218.2 kB / 2.877 GB, free: 36.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00094/11.15, allocations: 461.4 kB / 2.877 GB, free: 36.29 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002346/11.15, allocations: 33.7 kB / 2.877 GB, free: 36.25 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/11.15, allocations: 276.3 kB / 2.878 GB, free: 35.97 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/11.15, allocations: 224.6 kB / 2.878 GB, free: 35.75 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/11.15, allocations: 0 / 2.878 GB, free: 35.75 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001232/11.15, allocations: 371 kB / 2.878 GB, free: 35.38 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006661/11.15, allocations: 221.3 kB / 2.878 GB, free: 35.16 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007504/11.15, allocations: 321.6 kB / 2.879 GB, free: 34.82 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/11.15, allocations: 346.9 kB / 2.879 GB, free: 34.48 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/11.15, allocations: 0 / 2.879 GB, free: 34.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00368/11.16, allocations: 0.8123 MB / 2.88 GB, free: 33.66 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/11.16, allocations: 4 kB / 2.88 GB, free: 33.65 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/11.16, allocations: 8.047 kB / 2.88 GB, free: 33.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/11.16, allocations: 84.78 kB / 2.88 GB, free: 33.56 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/11.16, allocations: 151.8 kB / 2.88 GB, free: 33.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/11.16, allocations: 1.449 MB / 2.881 GB, free: 31.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/11.16, allocations: 79.5 kB / 2.882 GB, free: 31.76 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/11.16, allocations: 31.91 kB / 2.882 GB, free: 31.73 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.0002775/11.16, allocations: 115.5 kB / 2.882 GB, free: 31.61 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/11.16, allocations: 67.16 kB / 2.882 GB, free: 31.55 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006722/11.17, allocations: 1.034 MB / 2.883 GB, free: 30.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/11.17, allocations: 8 kB / 2.883 GB, free: 30.49 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/11.17, allocations: 0 / 2.883 GB, free: 30.49 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/11.17, allocations: 3.984 kB / 2.883 GB, free: 30.49 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/11.17, allocations: 0.7323 MB / 2.883 GB, free: 29.72 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/11.17, allocations: 0 / 2.883 GB, free: 29.72 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/11.17, allocations: 155.8 kB / 2.884 GB, free: 29.57 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/11.18, allocations: 80.78 kB / 2.884 GB, free: 29.48 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/11.18, allocations: 19.89 kB / 2.884 GB, free: 29.46 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00272/11.18, allocations: 1.484 MB / 2.885 GB, free: 27.86 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/11.18, allocations: 3.938 kB / 2.885 GB, free: 27.86 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004607/11.18, allocations: 0.8429 MB / 2.886 GB, free: 26.99 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004024/11.19, allocations: 1.253 MB / 2.887 GB, free: 25.71 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009409/11.19, allocations: 283.9 kB / 2.887 GB, free: 25.41 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/11.19, allocations: 4 kB / 2.887 GB, free: 25.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/11.19, allocations: 67.92 kB / 2.888 GB, free: 25.34 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/11.19, allocations: 52.58 kB / 2.888 GB, free: 25.29 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/11.19, allocations: 27.98 kB / 2.888 GB, free: 25.26 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006473/11.19, allocations: 362.9 kB / 2.888 GB, free: 24.91 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002563/11.19, allocations: 415.1 kB / 2.888 GB, free: 24.5 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 (78): * Single equations (assignments): 75 * 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.002421/11.2, allocations: 1.059 MB / 2.889 GB, free: 23.49 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00253/11.2, allocations: 0.7579 MB / 2.89 GB, free: 22.71 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/11.2, allocations: 0 / 2.89 GB, free: 22.71 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/11.2, allocations: 460.1 kB / 2.891 GB, free: 22.25 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/11.2, allocations: 145.1 kB / 2.891 GB, free: 22.11 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006546/11.21, allocations: 1.272 MB / 2.892 GB, free: 20.81 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/11.21, allocations: 1.099 MB / 2.893 GB, free: 19.68 MB / 0.823 GB Notification: Performance of SimCode: time 1.492e-06/11.21, allocations: 0 / 2.893 GB, free: 19.68 MB / 0.823 GB