Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",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.1/4.1, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5731/4.673, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/4.918, allocations: 98.72 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.48/10.4, allocations: 2.222 GB / 2.85 GB, free: 123.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/10.4, allocations: 91.52 kB / 2.851 GB, free: 123.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: 973 * Number of variables: 973 Notification: Performance of Generate backend data structure: time 8.514/18.91, allocations: 1.886 GB / 4.737 GB, free: 108.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/18.91, allocations: 12 kB / 4.737 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02555/18.94, allocations: 1.742 MB / 4.739 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02852/18.97, allocations: 5.419 MB / 4.744 GB, free: 101.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/18.97, allocations: 123.9 kB / 4.744 GB, free: 101.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002253/18.97, allocations: 223.9 kB / 4.744 GB, free: 101.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01832/18.99, allocations: 4.63 MB / 4.749 GB, free: 96.53 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02066/19.01, allocations: 4.738 MB / 4.753 GB, free: 91.65 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001984/19.01, allocations: 5.688 kB / 4.753 GB, free: 91.64 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001713/19.01, allocations: 8 kB / 4.753 GB, free: 91.64 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/19.01, allocations: 159.2 kB / 4.754 GB, free: 91.48 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05895/19.07, allocations: 19.7 MB / 4.773 GB, free: 71.59 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009129/19.08, allocations: 3.21 MB / 4.776 GB, free: 68.42 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004407/19.08, allocations: 1.676 MB / 4.778 GB, free: 66.73 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003547/19.09, allocations: 2.495 MB / 4.78 GB, free: 63.75 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006039/19.09, allocations: 1.915 MB / 4.782 GB, free: 61.79 MB / 0.823 GB Notification: Performance of pre-optimization done (n=280): time 7.574e-06/19.09, allocations: 0 / 4.782 GB, free: 61.79 MB / 0.823 GB Notification: Performance of matching and sorting (n=280): time 0.03942/19.13, allocations: 4.719 MB / 4.787 GB, free: 57.04 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/19.13, allocations: 265.5 kB / 4.787 GB, free: 56.73 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008175/19.14, allocations: 2.903 MB / 4.79 GB, free: 53.82 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001163/19.14, allocations: 29.7 kB / 4.79 GB, free: 53.79 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002453/19.14, allocations: 1.362 MB / 4.791 GB, free: 52.41 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003079/19.15, allocations: 0.9199 MB / 4.792 GB, free: 51.47 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004669/19.15, allocations: 0 / 4.792 GB, free: 51.47 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003044/19.15, allocations: 428.2 kB / 4.792 GB, free: 51.05 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004201/19.15, allocations: 1.419 MB / 4.794 GB, free: 49.62 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005317/19.16, allocations: 2.044 MB / 4.796 GB, free: 47.36 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02912/19.19, allocations: 3.235 MB / 4.799 GB, free: 44.16 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-05/19.19, allocations: 4 kB / 4.799 GB, free: 44.16 MB / 0.823 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.04031/19.23, allocations: 5.572 MB / 4.804 GB, free: 38.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001441/19.23, allocations: 6.391 MB / 4.81 GB, free: 31.83 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.946e-05/19.23, allocations: 16 kB / 4.811 GB, free: 31.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/19.23, allocations: 115.6 kB / 4.811 GB, free: 31.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009422/19.24, allocations: 0.8405 MB / 4.811 GB, free: 30.87 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/19.24, allocations: 2.089 MB / 4.813 GB, free: 28.63 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009151/19.25, allocations: 448.8 kB / 4.814 GB, free: 28.19 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001447/19.25, allocations: 203.9 kB / 4.814 GB, free: 27.99 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/19.25, allocations: 4 kB / 4.814 GB, free: 27.98 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03826/19.29, allocations: 5.116 MB / 4.819 GB, free: 22.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.329e-05/19.29, allocations: 19.91 kB / 4.819 GB, free: 22.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/19.29, allocations: 117.5 kB / 4.819 GB, free: 22.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009416/19.3, allocations: 0.8302 MB / 4.82 GB, free: 21.87 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003024/19.31, allocations: 1.495 MB / 4.822 GB, free: 20.26 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009092/19.32, allocations: 413.2 kB / 4.822 GB, free: 19.86 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001562/19.32, allocations: 203.9 kB / 4.822 GB, free: 19.66 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (380): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001832/19.32, allocations: 172.2 kB / 4.822 GB, free: 19.48 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002886/19.32, allocations: 423.5 kB / 4.823 GB, free: 19.06 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03665/19.36, allocations: 6.315 MB / 4.829 GB, free: 12.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-05/19.36, allocations: 36 kB / 4.829 GB, free: 12.67 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/19.36, allocations: 0 / 4.829 GB, free: 12.67 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02711/19.39, allocations: 4.742 MB / 4.833 GB, free: 7.824 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04468/19.43, allocations: 9.777 MB / 4.843 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.919e-05/19.43, allocations: 4 kB / 4.843 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008003/19.44, allocations: 0.6199 MB / 4.844 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002941/19.44, allocations: 496.1 kB / 4.844 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009568/19.44, allocations: 67.91 kB / 4.844 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/19.45, allocations: 7.673 MB / 4.852 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/19.45, allocations: 8.219 kB / 4.852 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04053/19.49, allocations: 7.434 MB / 4.859 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04616/19.54, allocations: 10.37 MB / 4.869 GB, free: 2.746 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005262/19.55, allocations: 1.155 MB / 4.87 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002001/19.55, allocations: 11.98 kB / 4.87 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008549/19.56, allocations: 279.4 kB / 4.87 GB, free: 1.281 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/19.56, allocations: 158.1 kB / 4.871 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007261/19.56, allocations: 131.9 kB / 4.871 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.4132/19.97, allocations: 2.233 MB / 4.873 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.02181/19.99, allocations: 3.38 MB / 4.876 GB, free: 179.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * 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 (265): * Single equations (assignments): 249 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00836/20, allocations: 2.101 MB / 4.878 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02046/20.02, allocations: 6.033 MB / 4.884 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/20.02, allocations: 4.219 kB / 4.884 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007929/20.03, allocations: 2.006 MB / 4.886 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01543/20.05, allocations: 1.561 MB / 4.888 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08894/20.13, allocations: 23.14 MB / 4.91 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01625/20.15, allocations: 3.724 MB / 4.914 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.483e-06/20.15, allocations: 0 / 4.914 GB, free: 176.9 MB / 0.8542 GB