Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.476/4.476, allocations: 433 MB / 440.3 MB, free: 10.79 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2925/4.768, allocations: 104.4 MB / 0.5319 GB, free: 2.344 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5612/5.33, allocations: 98.7 MB / 0.6283 GB, free: 112 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.847/11.18, allocations: 2.189 GB / 2.817 GB, free: 193.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000414/11.18, allocations: 88.23 kB / 2.817 GB, free: 193.6 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: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.4613/11.64, allocations: 97.3 MB / 2.912 GB, free: 107 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/11.64, allocations: 12 kB / 2.912 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03189/11.67, allocations: 2.163 MB / 2.914 GB, free: 104.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/11.67, allocations: 0.9817 MB / 2.915 GB, free: 103.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/11.67, allocations: 60 kB / 2.915 GB, free: 103.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009944/11.67, allocations: 104 kB / 2.915 GB, free: 103.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01117/11.69, allocations: 2.857 MB / 2.918 GB, free: 100.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008477/11.69, allocations: 2.113 MB / 2.92 GB, free: 98.57 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-05/11.69, allocations: 0 / 2.92 GB, free: 98.57 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004463/11.7, allocations: 0 / 2.92 GB, free: 98.57 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-05/11.7, allocations: 51.94 kB / 2.92 GB, free: 98.52 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03421/11.73, allocations: 6.252 MB / 2.926 GB, free: 92.16 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/11.74, allocations: 1.909 MB / 2.928 GB, free: 90.23 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00565/11.75, allocations: 1.009 MB / 2.929 GB, free: 89.23 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/11.75, allocations: 0.5072 MB / 2.93 GB, free: 88.62 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003866/11.75, allocations: 1.282 MB / 2.931 GB, free: 87.32 MB / 0.823 GB Notification: Performance of pre-optimization done (n=192): time 5.65e-06/11.75, allocations: 0 / 2.931 GB, free: 87.32 MB / 0.823 GB Notification: Performance of matching and sorting (n=192): time 0.01014/11.76, allocations: 2.289 MB / 2.933 GB, free: 85.02 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.657e-05/11.76, allocations: 231.6 kB / 2.933 GB, free: 84.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/11.76, allocations: 0.6134 MB / 2.934 GB, free: 84.13 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006176/11.76, allocations: 29.7 kB / 2.934 GB, free: 84.09 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004953/11.76, allocations: 0.5008 MB / 2.934 GB, free: 83.58 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009186/11.76, allocations: 0.6041 MB / 2.935 GB, free: 82.97 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/11.76, allocations: 4.109 kB / 2.935 GB, free: 82.96 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001951/11.77, allocations: 418.6 kB / 2.935 GB, free: 82.55 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/11.77, allocations: 0.7928 MB / 2.936 GB, free: 81.75 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003669/11.77, allocations: 0.9532 MB / 2.937 GB, free: 80.77 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005287/11.78, allocations: 1.087 MB / 2.938 GB, free: 79.68 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/11.78, allocations: 0 / 2.938 GB, free: 79.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01656/11.79, allocations: 2.391 MB / 2.94 GB, free: 77.28 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/11.79, allocations: 8 kB / 2.941 GB, free: 77.27 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/11.79, allocations: 0 / 2.941 GB, free: 77.27 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/11.8, allocations: 88.78 kB / 2.941 GB, free: 77.18 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.012/11.81, allocations: 0.5656 MB / 2.941 GB, free: 76.62 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004348/11.81, allocations: 1.457 MB / 2.943 GB, free: 75.04 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009076/11.82, allocations: 302.5 kB / 2.943 GB, free: 74.74 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001206/11.82, allocations: 87.89 kB / 2.943 GB, free: 74.65 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (205): * Single equations (assignments): 202 * 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.001181/11.82, allocations: 128.7 kB / 2.943 GB, free: 74.52 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/11.82, allocations: 126.5 kB / 2.943 GB, free: 74.39 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02514/11.85, allocations: 2.987 MB / 2.946 GB, free: 71.39 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.307e-05/11.85, allocations: 20 kB / 2.946 GB, free: 71.37 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/11.85, allocations: 0 / 2.946 GB, free: 71.37 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.274e-05/11.85, allocations: 15.95 kB / 2.946 GB, free: 71.35 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01931/11.87, allocations: 4.883 MB / 2.951 GB, free: 66.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/11.87, allocations: 0 / 2.951 GB, free: 66.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007766/11.88, allocations: 0.5499 MB / 2.951 GB, free: 65.86 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/11.88, allocations: 88.77 kB / 2.952 GB, free: 65.77 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007834/11.88, allocations: 47.86 kB / 2.952 GB, free: 65.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002785/11.88, allocations: 1.484 MB / 2.953 GB, free: 64.12 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.505e-06/11.88, allocations: 4.031 kB / 2.953 GB, free: 64.12 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01503/11.9, allocations: 2.469 MB / 2.955 GB, free: 61.63 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03662/11.93, allocations: 2.895 MB / 2.958 GB, free: 58.71 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01931/11.95, allocations: 0.5259 MB / 2.959 GB, free: 58.17 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/11.95, allocations: 4 kB / 2.959 GB, free: 58.16 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01457/11.97, allocations: 235.7 kB / 2.959 GB, free: 57.93 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000628/11.97, allocations: 105.8 kB / 2.959 GB, free: 57.83 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006163/11.97, allocations: 83.91 kB / 2.959 GB, free: 57.75 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001465/11.97, allocations: 0.5187 MB / 2.96 GB, free: 57.23 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005807/11.98, allocations: 0.6387 MB / 2.96 GB, free: 56.59 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.conTim.tNext,weaDat.conTim1.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 199 * 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.004272/11.98, allocations: 1.077 MB / 2.961 GB, free: 55.55 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.008761/11.99, allocations: 2.209 MB / 2.964 GB, free: 53.33 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/11.99, allocations: 4.25 kB / 2.964 GB, free: 53.32 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004238/11.99, allocations: 1.239 MB / 2.965 GB, free: 52.08 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/12, allocations: 169.9 kB / 2.965 GB, free: 51.91 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/12.01, allocations: 2.706 MB / 2.968 GB, free: 49.17 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003956/12.01, allocations: 1.585 MB / 2.969 GB, free: 47.55 MB / 0.823 GB Notification: Performance of SimCode: time 3.006e-06/12.01, allocations: 0 / 2.969 GB, free: 47.55 MB / 0.823 GB