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.Concentrating.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.Concentrating,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating",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.056/4.056, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5948/4.651, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/4.931, allocations: 98.72 MB / 0.6283 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.525/11.46, allocations: 2.467 GB / 3.096 GB, free: 186.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/11.46, allocations: 92.02 kB / 3.096 GB, free: 186.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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 4.352/15.81, allocations: 0.9005 GB / 3.996 GB, free: 130.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/15.81, allocations: 7.656 kB / 3.996 GB, free: 130.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01496/15.82, allocations: 1.365 MB / 3.998 GB, free: 130.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02766/15.85, allocations: 5.292 MB / 4.003 GB, free: 129.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/15.85, allocations: 118.8 kB / 4.003 GB, free: 129.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/15.85, allocations: 216.8 kB / 4.003 GB, free: 129.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01784/15.87, allocations: 4.465 MB / 4.007 GB, free: 129.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/15.89, allocations: 4.496 MB / 4.012 GB, free: 129.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002506/15.9, allocations: 13.38 kB / 4.012 GB, free: 129.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001634/15.9, allocations: 7.469 kB / 4.012 GB, free: 129.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002689/15.9, allocations: 179.2 kB / 4.012 GB, free: 129.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06389/15.96, allocations: 19.18 MB / 4.031 GB, free: 122.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009332/15.97, allocations: 3.072 MB / 4.034 GB, free: 122.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004697/15.98, allocations: 1.636 MB / 4.035 GB, free: 122.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003126/15.98, allocations: 1.878 MB / 4.037 GB, free: 120.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00555/15.98, allocations: 1.748 MB / 4.039 GB, free: 120.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=264): time 6.772e-06/15.98, allocations: 0 / 4.039 GB, free: 120.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=264): time 0.02185/16.01, allocations: 3.827 MB / 4.043 GB, free: 120.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/16.01, allocations: 260.1 kB / 4.043 GB, free: 119.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008725/16.01, allocations: 2.98 MB / 4.046 GB, free: 119.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009506/16.02, allocations: 25.7 kB / 4.046 GB, free: 119.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002726/16.02, allocations: 1.37 MB / 4.047 GB, free: 118.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002479/16.02, allocations: 0.8618 MB / 4.048 GB, free: 118.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004266/16.02, allocations: 6.719 kB / 4.048 GB, free: 118.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002951/16.02, allocations: 424.2 kB / 4.048 GB, free: 117.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004294/16.03, allocations: 1.344 MB / 4.05 GB, free: 117.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005616/16.03, allocations: 2.001 MB / 4.052 GB, free: 117.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/16.05, allocations: 2.451 MB / 4.054 GB, free: 117.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.474e-05/16.05, allocations: 3.906 kB / 4.054 GB, free: 117.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=369) (initialization): time 0.02452/16.07, allocations: 4.561 MB / 4.058 GB, free: 116.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001679/16.07, allocations: 7.24 MB / 4.066 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-05/16.07, allocations: 14.38 kB / 4.066 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/16.07, allocations: 114.6 kB / 4.066 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008847/16.08, allocations: 0.8126 MB / 4.066 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003395/16.09, allocations: 2.1 MB / 4.069 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008551/16.1, allocations: 423.5 kB / 4.069 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/16.1, allocations: 147.4 kB / 4.069 GB, free: 107.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/16.1, allocations: 4.938 kB / 4.069 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.023/16.12, allocations: 4.205 MB / 4.073 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-05/16.12, allocations: 17.2 kB / 4.073 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/16.12, allocations: 116.3 kB / 4.073 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008557/16.13, allocations: 0.8012 MB / 4.074 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002874/16.13, allocations: 1.497 MB / 4.076 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008112/16.14, allocations: 384 kB / 4.076 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/16.14, allocations: 146.9 kB / 4.076 GB, free: 105.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (367): * Single equations (assignments): 363 * 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.00123/16.14, allocations: 183.3 kB / 4.076 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001473/16.14, allocations: 352.8 kB / 4.077 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02648/16.17, allocations: 4.668 MB / 4.081 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.832e-05/16.17, allocations: 29.5 kB / 4.081 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/16.17, allocations: 0 / 4.081 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0203/16.19, allocations: 3.764 MB / 4.085 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03745/16.23, allocations: 8.694 MB / 4.093 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/16.23, allocations: 0 / 4.093 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007584/16.24, allocations: 0.6242 MB / 4.094 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/16.24, allocations: 93.86 kB / 4.094 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009232/16.24, allocations: 65.14 kB / 4.094 GB, free: 101.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/16.24, allocations: 2.079 MB / 4.096 GB, free: 99.21 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/16.24, allocations: 3.094 kB / 4.096 GB, free: 99.21 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02635/16.27, allocations: 6.072 MB / 4.102 GB, free: 96.91 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04439/16.31, allocations: 8.562 MB / 4.11 GB, free: 93.28 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006913/16.32, allocations: 1.02 MB / 4.111 GB, free: 92.68 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003407/16.32, allocations: 18.39 kB / 4.111 GB, free: 92.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01189/16.34, allocations: 285.8 kB / 4.112 GB, free: 92.66 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001234/16.34, allocations: 149.5 kB / 4.112 GB, free: 92.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001206/16.34, allocations: 105.2 kB / 4.112 GB, free: 92.62 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.01013/16.35, allocations: 2.303 MB / 4.114 GB, free: 91.75 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0207/16.37, allocations: 2.678 MB / 4.117 GB, free: 90.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (279): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004898/16.37, allocations: 1.626 MB / 4.118 GB, free: 90.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.03707/16.41, allocations: 5.618 MB / 4.124 GB, free: 88.39 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.972e-05/16.41, allocations: 2.875 kB / 4.124 GB, free: 88.39 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01131/16.42, allocations: 1.715 MB / 4.126 GB, free: 87.22 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0355/16.46, allocations: 1.617 MB / 4.127 GB, free: 86.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04385/16.5, allocations: 7.854 MB / 4.135 GB, free: 79.54 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009129/16.51, allocations: 3.546 MB / 4.138 GB, free: 76.86 MB / 0.823 GB Notification: Performance of SimCode: time 1.353e-06/16.51, allocations: 0 / 4.138 GB, free: 76.86 MB / 0.823 GB