Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",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.045/4.045, allocations: 433 MB / 440.3 MB, free: 4.852 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5762/4.621, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/4.863, allocations: 98.72 MB / 0.6283 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.599/10.46, allocations: 2.184 GB / 2.813 GB, free: 163.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/10.46, allocations: 86.73 kB / 2.813 GB, free: 163.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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.2658/10.73, allocations: 57.05 MB / 2.868 GB, free: 115.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/10.73, allocations: 16 kB / 2.868 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004688/10.73, allocations: 389.2 kB / 2.869 GB, free: 115.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/10.73, allocations: 0.5595 MB / 2.869 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/10.73, allocations: 28 kB / 2.869 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/10.73, allocations: 48 kB / 2.869 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003238/10.74, allocations: 1.072 MB / 2.87 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/10.74, allocations: 0.7812 MB / 2.871 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/10.74, allocations: 7.875 kB / 2.871 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/10.74, allocations: 8 kB / 2.871 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/10.74, allocations: 20 kB / 2.871 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00752/10.75, allocations: 2.605 MB / 2.874 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/10.75, allocations: 0.8254 MB / 2.875 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007306/10.75, allocations: 270.3 kB / 2.875 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009755/10.75, allocations: 469.8 kB / 2.875 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/10.75, allocations: 432.7 kB / 2.876 GB, free: 109.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=74): time 3.677e-06/10.75, allocations: 0 / 2.876 GB, free: 109.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=74): time 0.003949/10.76, allocations: 0.7746 MB / 2.876 GB, free: 109 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/10.76, allocations: 217.6 kB / 2.877 GB, free: 108.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/10.76, allocations: 476 kB / 2.877 GB, free: 108.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002613/10.76, allocations: 25.7 kB / 2.877 GB, free: 108.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/10.76, allocations: 294.7 kB / 2.877 GB, free: 108.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/10.76, allocations: 232.4 kB / 2.878 GB, free: 107.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.189e-05/10.76, allocations: 0 / 2.878 GB, free: 107.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001389/10.76, allocations: 374.8 kB / 2.878 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007034/10.76, allocations: 229.5 kB / 2.878 GB, free: 107.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007714/10.76, allocations: 349.1 kB / 2.879 GB, free: 106.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/10.76, allocations: 358.9 kB / 2.879 GB, free: 106.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/10.76, allocations: 0 / 2.879 GB, free: 106.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003796/10.77, allocations: 0.8395 MB / 2.88 GB, free: 105.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/10.77, allocations: 4 kB / 2.88 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/10.77, allocations: 4 kB / 2.88 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/10.77, allocations: 76.94 kB / 2.88 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/10.77, allocations: 167.8 kB / 2.88 GB, free: 105.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/10.77, allocations: 1.453 MB / 2.881 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/10.77, allocations: 79.5 kB / 2.881 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/10.77, allocations: 31.97 kB / 2.881 GB, free: 103.8 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 (81): * Single equations (assignments): 78 * 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.0002888/10.77, allocations: 116.9 kB / 2.882 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/10.78, allocations: 71.16 kB / 2.882 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004964/10.78, allocations: 1.057 MB / 2.883 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/10.78, allocations: 12 kB / 2.883 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/10.78, allocations: 4 kB / 2.883 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/10.78, allocations: 3.984 kB / 2.883 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006368/10.79, allocations: 1.889 MB / 2.885 GB, free: 100.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/10.79, allocations: 0 / 2.885 GB, free: 100.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/10.79, allocations: 163.8 kB / 2.885 GB, free: 100.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009501/10.79, allocations: 80.78 kB / 2.885 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/10.79, allocations: 15.98 kB / 2.885 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/10.79, allocations: 1.465 MB / 2.886 GB, free: 98.71 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/10.79, allocations: 11.95 kB / 2.886 GB, free: 98.7 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004058/10.8, allocations: 0.9337 MB / 2.887 GB, free: 97.75 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003957/10.8, allocations: 1.34 MB / 2.888 GB, free: 96.38 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000774/10.8, allocations: 291.7 kB / 2.889 GB, free: 96.07 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/10.8, allocations: 4 kB / 2.889 GB, free: 96.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/10.8, allocations: 75.86 kB / 2.889 GB, free: 96 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/10.8, allocations: 52.7 kB / 2.889 GB, free: 95.95 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/10.8, allocations: 27.98 kB / 2.889 GB, free: 95.92 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0007623/10.8, allocations: 374.9 kB / 2.889 GB, free: 95.55 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002902/10.81, allocations: 415 kB / 2.89 GB, free: 95.15 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 (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.00249/10.81, allocations: 1.062 MB / 2.891 GB, free: 94.12 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002524/10.81, allocations: 0.7751 MB / 2.891 GB, free: 93.32 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/10.81, allocations: 0 / 2.891 GB, free: 93.32 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/10.81, allocations: 476.8 kB / 2.892 GB, free: 92.85 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/10.82, allocations: 167.3 kB / 2.892 GB, free: 92.69 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006449/10.82, allocations: 1.304 MB / 2.893 GB, free: 91.36 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/10.82, allocations: 1.099 MB / 2.894 GB, free: 90.23 MB / 0.823 GB Notification: Performance of SimCode: time 1.222e-06/10.82, allocations: 0 / 2.894 GB, free: 90.23 MB / 0.823 GB