Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.SolarGeometry.Examples.ProjectedShadowLength,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength",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.535/4.535, allocations: 433 MB / 440.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3253/4.86, allocations: 104.3 MB / 0.5319 GB, free: 2.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5679/5.428, allocations: 98.7 MB / 0.6283 GB, free: 84 kB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2836/5.712, allocations: 131 MB / 0.7562 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/5.712, allocations: 83.95 kB / 0.7563 GB, free: 12.79 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.1214/5.834, allocations: 21.32 MB / 0.7771 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/5.834, allocations: 8 kB / 0.7772 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005734/5.834, allocations: 79.06 kB / 0.7772 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02448/5.859, allocations: 5.979 MB / 0.7831 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001379/5.86, allocations: 409.7 kB / 0.7835 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/5.861, allocations: 32 kB / 0.7835 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001723/5.862, allocations: 454.5 kB / 0.7839 GB, free: 356 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/5.864, allocations: 0.5421 MB / 0.7844 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/5.864, allocations: 0 / 0.7844 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-05/5.864, allocations: 0 / 0.7844 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/5.864, allocations: 16 kB / 0.7845 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007424/5.872, allocations: 1.849 MB / 0.7863 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006538/5.878, allocations: 0.8431 MB / 0.7871 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009664/5.879, allocations: 272.6 kB / 0.7874 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/5.879, allocations: 27.91 kB / 0.7874 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/5.88, allocations: 54.39 kB / 0.7874 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 4.058e-06/5.88, allocations: 4 kB / 0.7874 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72): time 0.002047/5.882, allocations: 0.5278 MB / 0.788 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/5.882, allocations: 144.4 kB / 0.7881 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006227/5.882, allocations: 282.1 kB / 0.7884 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/5.883, allocations: 29.7 kB / 0.7884 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/5.883, allocations: 208.8 kB / 0.7886 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/5.883, allocations: 224.5 kB / 0.7888 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/5.883, allocations: 0 / 0.7888 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001847/5.883, allocations: 358.8 kB / 0.7891 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/5.884, allocations: 169.3 kB / 0.7893 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007154/5.885, allocations: 236.5 kB / 0.7895 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006585/5.885, allocations: 187.8 kB / 0.7897 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/5.885, allocations: 0 / 0.7897 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001819/5.887, allocations: 0.5319 MB / 0.7902 GB, free: 9.684 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/5.887, allocations: 4 kB / 0.7902 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/5.887, allocations: 0 / 0.7902 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/5.887, allocations: 4 kB / 0.7902 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/5.89, allocations: 191.7 kB / 0.7904 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/5.89, allocations: 0 / 0.7904 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/5.892, allocations: 91.52 kB / 0.7905 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/5.892, allocations: 27.97 kB / 0.7905 GB, free: 9.371 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002378/5.892, allocations: 112.8 kB / 0.7906 GB, free: 9.254 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/5.892, allocations: 59.31 kB / 0.7907 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/5.896, allocations: 0.9338 MB / 0.7916 GB, free: 8.262 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/5.896, allocations: 15.91 kB / 0.7916 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/5.896, allocations: 0 / 0.7916 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.115e-05/5.896, allocations: 11.97 kB / 0.7916 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/5.898, allocations: 0.6767 MB / 0.7923 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/5.898, allocations: 0 / 0.7923 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002647/5.9, allocations: 247.7 kB / 0.7925 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.687e-05/5.9, allocations: 4 kB / 0.7925 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/5.901, allocations: 23.91 kB / 0.7926 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/5.901, allocations: 7.906 kB / 0.7926 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/5.901, allocations: 0 / 0.7926 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002468/5.903, allocations: 1.056 MB / 0.7936 GB, free: 6.152 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002606/5.906, allocations: 1.445 MB / 0.795 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000611/5.906, allocations: 240 kB / 0.7952 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/5.907, allocations: 0 / 0.7952 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/5.909, allocations: 63.92 kB / 0.7953 GB, free: 4.348 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/5.909, allocations: 75.78 kB / 0.7954 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/5.909, allocations: 43.91 kB / 0.7954 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000537/5.909, allocations: 263.2 kB / 0.7957 GB, free: 3.977 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002541/5.912, allocations: 271.4 kB / 0.7959 GB, free: 3.711 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001487/5.914, allocations: 432.1 kB / 0.7963 GB, free: 3.293 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001865/5.915, allocations: 0.5397 MB / 0.7969 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/5.915, allocations: 0 / 0.7969 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/5.917, allocations: 402.8 kB / 0.7972 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007211/5.917, allocations: 25.5 kB / 0.7973 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/5.921, allocations: 0.8958 MB / 0.7981 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/5.923, allocations: 1.065 MB / 0.7992 GB, free: 320 kB / 0.6667 GB Notification: Performance of SimCode: time 1.643e-06/5.923, allocations: 0 / 0.7992 GB, free: 320 kB / 0.6667 GB