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.Tubular.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.Tubular,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular",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.157/4.157, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5525/4.71, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/4.966, allocations: 98.72 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.201/11.17, allocations: 2.468 GB / 3.096 GB, free: 185.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004199/11.17, allocations: 94.33 kB / 3.096 GB, free: 185.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: 964 * Number of variables: 964 Notification: Performance of Generate backend data structure: time 4.278/15.45, allocations: 0.9008 GB / 3.997 GB, free: 133.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/15.45, allocations: 9.781 kB / 3.997 GB, free: 133.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01632/15.46, allocations: 1.493 MB / 3.998 GB, free: 133 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02333/15.48, allocations: 5.346 MB / 4.004 GB, free: 132.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/15.49, allocations: 123.2 kB / 4.004 GB, free: 132.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002005/15.49, allocations: 217.8 kB / 4.004 GB, free: 132.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01702/15.5, allocations: 4.511 MB / 4.008 GB, free: 132.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02026/15.52, allocations: 4.516 MB / 4.013 GB, free: 131.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001872/15.53, allocations: 15.22 kB / 4.013 GB, free: 131.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001059/15.53, allocations: 3.719 kB / 4.013 GB, free: 131.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/15.53, allocations: 182 kB / 4.013 GB, free: 131.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06501/15.59, allocations: 19.25 MB / 4.032 GB, free: 124.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01156/15.6, allocations: 3.053 MB / 4.035 GB, free: 124.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005671/15.61, allocations: 1.656 MB / 4.036 GB, free: 124.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003987/15.61, allocations: 1.872 MB / 4.038 GB, free: 122.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00663/15.62, allocations: 1.77 MB / 4.04 GB, free: 122.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=265): time 9.017e-06/15.62, allocations: 0 / 4.04 GB, free: 122.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=265): time 0.02448/15.64, allocations: 3.849 MB / 4.044 GB, free: 122.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/15.64, allocations: 263.8 kB / 4.044 GB, free: 122.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007771/15.65, allocations: 2.993 MB / 4.047 GB, free: 121.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009067/15.65, allocations: 29.55 kB / 4.047 GB, free: 121.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002487/15.66, allocations: 1.38 MB / 4.048 GB, free: 121.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00238/15.66, allocations: 0.8641 MB / 4.049 GB, free: 120.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004143/15.66, allocations: 0 / 4.049 GB, free: 120.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002654/15.66, allocations: 436.2 kB / 4.049 GB, free: 120.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003904/15.66, allocations: 1.364 MB / 4.051 GB, free: 120.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004954/15.67, allocations: 2.029 MB / 4.053 GB, free: 119.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02606/15.69, allocations: 3.005 MB / 4.056 GB, free: 119.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.592e-05/15.69, allocations: 7.375 kB / 4.056 GB, free: 119.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.0381/15.73, allocations: 5.162 MB / 4.061 GB, free: 119.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002011/15.73, allocations: 7.233 MB / 4.068 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/15.73, allocations: 22.19 kB / 4.068 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/15.74, allocations: 114.7 kB / 4.068 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009481/15.74, allocations: 0.8324 MB / 4.069 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003834/15.75, allocations: 2.089 MB / 4.071 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009662/15.76, allocations: 449.2 kB / 4.071 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001286/15.76, allocations: 145.8 kB / 4.071 GB, free: 109.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/15.76, allocations: 3.875 kB / 4.071 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04336/15.8, allocations: 4.797 MB / 4.076 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.978e-05/15.8, allocations: 15.12 kB / 4.076 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/15.8, allocations: 120.2 kB / 4.076 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009463/15.81, allocations: 0.8219 MB / 4.077 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/15.82, allocations: 1.496 MB / 4.078 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009172/15.83, allocations: 407.1 kB / 4.079 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001232/15.83, allocations: 148.4 kB / 4.079 GB, free: 108 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 (372): * Single equations (assignments): 368 * 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.001298/15.83, allocations: 180.2 kB / 4.079 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001679/15.83, allocations: 349 kB / 4.079 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02795/15.86, allocations: 4.713 MB / 4.084 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-05/15.86, allocations: 26.69 kB / 4.084 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/15.86, allocations: 0 / 4.084 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02009/15.88, allocations: 3.779 MB / 4.088 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04136/15.92, allocations: 8.743 MB / 4.096 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/15.92, allocations: 3.938 kB / 4.096 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007836/15.93, allocations: 0.642 MB / 4.097 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/15.93, allocations: 88.44 kB / 4.097 GB, free: 101.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000909/15.93, allocations: 62.56 kB / 4.097 GB, free: 101.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002965/15.93, allocations: 2.087 MB / 4.099 GB, free: 99.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/15.93, allocations: 0 / 4.099 GB, free: 99.7 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02699/15.96, allocations: 6.123 MB / 4.105 GB, free: 97.35 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03622/16, allocations: 8.63 MB / 4.114 GB, free: 93.68 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004647/16, allocations: 1.026 MB / 4.115 GB, free: 93.07 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002184/16, allocations: 13 kB / 4.115 GB, free: 93.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008152/16.01, allocations: 302.5 kB / 4.115 GB, free: 93.05 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009344/16.01, allocations: 143.2 kB / 4.115 GB, free: 93.03 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005845/16.01, allocations: 110.2 kB / 4.115 GB, free: 93.01 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.007382/16.02, allocations: 2.308 MB / 4.117 GB, free: 92.13 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01747/16.04, allocations: 2.689 MB / 4.12 GB, free: 91.28 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 (280): * Single equations (assignments): 270 * 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.005874/16.04, allocations: 1.615 MB / 4.122 GB, free: 90.87 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01851/16.06, allocations: 5.702 MB / 4.127 GB, free: 85.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/16.06, allocations: 4.656 kB / 4.127 GB, free: 85.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006203/16.07, allocations: 1.737 MB / 4.129 GB, free: 84.24 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01598/16.08, allocations: 1.616 MB / 4.13 GB, free: 83.12 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03153/16.12, allocations: 7.813 MB / 4.138 GB, free: 76.57 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009701/16.13, allocations: 3.558 MB / 4.141 GB, free: 73.84 MB / 0.823 GB Notification: Performance of SimCode: time 1.923e-06/16.13, allocations: 0 / 4.141 GB, free: 73.84 MB / 0.823 GB