Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",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.089/4.089, allocations: 433 MB / 440.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.585/4.674, allocations: 104.3 MB / 0.5319 GB, free: 16.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/4.906, allocations: 98.7 MB / 0.6283 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.631/10.54, allocations: 2.186 GB / 2.814 GB, free: 79.16 MB / 0.8106 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005011/10.54, allocations: 87.62 kB / 2.814 GB, free: 79.11 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.2699/10.81, allocations: 64.32 MB / 2.877 GB, free: 20.46 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/10.81, allocations: 12 kB / 2.877 GB, free: 20.45 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003908/10.81, allocations: 342.2 kB / 2.877 GB, free: 20.11 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/10.81, allocations: 0.5608 MB / 2.878 GB, free: 19.51 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-05/10.81, allocations: 28 kB / 2.878 GB, free: 19.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/10.81, allocations: 47.98 kB / 2.878 GB, free: 19.44 MB / 0.8106 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003063/10.82, allocations: 1.073 MB / 2.879 GB, free: 18.36 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/10.82, allocations: 0.745 MB / 2.88 GB, free: 17.58 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/10.82, allocations: 0 / 2.88 GB, free: 17.58 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/10.82, allocations: 0 / 2.88 GB, free: 17.58 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/10.82, allocations: 27.94 kB / 2.88 GB, free: 17.55 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007881/10.83, allocations: 2.402 MB / 2.882 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/10.83, allocations: 0.7206 MB / 2.883 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/10.83, allocations: 274.8 kB / 2.883 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/10.83, allocations: 0.6644 MB / 2.884 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/10.83, allocations: 442.8 kB / 2.884 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=73): time 4.028e-06/10.83, allocations: 0 / 2.884 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of matching and sorting (n=73): time 0.003983/10.84, allocations: 0.8004 MB / 2.885 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/10.84, allocations: 218.3 kB / 2.885 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/10.84, allocations: 0.4945 MB / 2.886 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000226/10.84, allocations: 25.7 kB / 2.886 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/10.84, allocations: 288.3 kB / 2.886 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/10.84, allocations: 224.6 kB / 2.886 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/10.84, allocations: 0 / 2.886 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000126/10.84, allocations: 378.7 kB / 2.887 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007017/10.84, allocations: 241.3 kB / 2.887 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007595/10.84, allocations: 333.5 kB / 2.887 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/10.84, allocations: 366.9 kB / 2.888 GB, free: 9.406 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/10.84, allocations: 0 / 2.888 GB, free: 9.406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003931/10.85, allocations: 0.8474 MB / 2.888 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/10.85, allocations: 12 kB / 2.888 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/10.85, allocations: 0 / 2.888 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/10.85, allocations: 80.78 kB / 2.888 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/10.85, allocations: 159.8 kB / 2.889 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004672/10.86, allocations: 1.48 MB / 2.89 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/10.86, allocations: 79.58 kB / 2.89 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/10.86, allocations: 23.98 kB / 2.89 GB, free: 6.594 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (77): * Single equations (assignments): 74 * 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.0003717/10.86, allocations: 120.8 kB / 2.89 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003224/10.86, allocations: 75.06 kB / 2.89 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007318/10.87, allocations: 1.084 MB / 2.891 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/10.87, allocations: 15.84 kB / 2.891 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/10.87, allocations: 0 / 2.891 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/10.87, allocations: 7.922 kB / 2.891 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/10.87, allocations: 0.783 MB / 2.892 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/10.87, allocations: 4 kB / 2.892 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/10.87, allocations: 155.8 kB / 2.892 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009974/10.87, allocations: 84.72 kB / 2.892 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/10.87, allocations: 19.97 kB / 2.892 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/10.87, allocations: 1.477 MB / 2.894 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/10.87, allocations: 3.906 kB / 2.894 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003868/10.88, allocations: 0.8927 MB / 2.895 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003876/10.88, allocations: 1.315 MB / 2.896 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007454/10.88, allocations: 291.9 kB / 2.896 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/10.88, allocations: 0 / 2.896 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3116/11.19, allocations: 81.62 kB / 2.896 GB, free: 340.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/11.19, allocations: 45.95 kB / 2.896 GB, free: 340.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/11.19, allocations: 35.05 kB / 2.896 GB, free: 340.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 0.0008255/11.2, allocations: 395.8 kB / 2.897 GB, free: 340.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003035/11.2, allocations: 422.8 kB / 2.897 GB, free: 340.3 MB / 0.8106 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.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * 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.002728/11.2, allocations: 1.108 MB / 2.898 GB, free: 340.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002445/11.2, allocations: 0.7863 MB / 2.899 GB, free: 340 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/11.2, allocations: 0 / 2.899 GB, free: 340 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/11.21, allocations: 474.3 kB / 2.9 GB, free: 339.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/11.21, allocations: 162.4 kB / 2.9 GB, free: 339.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006828/11.21, allocations: 1.355 MB / 2.901 GB, free: 339.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/11.22, allocations: 1.113 MB / 2.902 GB, free: 338.9 MB / 0.8106 GB Notification: Performance of SimCode: time 1.513e-06/11.22, allocations: 0 / 2.902 GB, free: 338.9 MB / 0.8106 GB