Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",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 3.825/3.825, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5602/4.385, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/4.622, allocations: 98.73 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.065/5.687, allocations: 426 MB / 1.044 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003583/5.688, allocations: 96.77 kB / 1.044 GB, free: 11.25 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 3.468/9.156, allocations: 0.6704 GB / 1.715 GB, free: 7.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/9.156, allocations: 12 kB / 1.715 GB, free: 7.508 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004089/9.16, allocations: 413.6 kB / 1.715 GB, free: 7.102 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4458/9.606, allocations: 8.362 MB / 1.723 GB, free: 212.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.203e-05/9.606, allocations: 26.09 kB / 1.723 GB, free: 212.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/9.606, allocations: 57.78 kB / 1.723 GB, free: 212.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002115/9.608, allocations: 0.6136 MB / 1.724 GB, free: 212.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/9.611, allocations: 0.8411 MB / 1.725 GB, free: 212.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/9.611, allocations: 0 / 1.725 GB, free: 212.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/9.611, allocations: 3.594 kB / 1.725 GB, free: 212.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/9.611, allocations: 21.34 kB / 1.725 GB, free: 212.4 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/9.623, allocations: 4.674 MB / 1.729 GB, free: 210.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/9.625, allocations: 451 kB / 1.73 GB, free: 210.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/9.626, allocations: 227.3 kB / 1.73 GB, free: 210.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003942/9.63, allocations: 1.624 MB / 1.732 GB, free: 209.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008342/9.631, allocations: 344.6 kB / 1.732 GB, free: 209 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 4.769e-06/9.631, allocations: 0 / 1.732 GB, free: 209 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.003365/9.634, allocations: 0.6619 MB / 1.733 GB, free: 208.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/9.634, allocations: 109.2 kB / 1.733 GB, free: 208.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/9.637, allocations: 0.9757 MB / 1.734 GB, free: 208.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002332/9.637, allocations: 25.7 kB / 1.734 GB, free: 208.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004761/9.637, allocations: 446 kB / 1.734 GB, free: 208.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/9.638, allocations: 148.7 kB / 1.734 GB, free: 208.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/9.638, allocations: 1.125 kB / 1.734 GB, free: 208.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/9.638, allocations: 327.4 kB / 1.735 GB, free: 208 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005611/9.638, allocations: 205.7 kB / 1.735 GB, free: 208 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008042/9.639, allocations: 479 kB / 1.735 GB, free: 207.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/9.643, allocations: 349.1 kB / 1.736 GB, free: 207.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-05/9.643, allocations: 6.625 kB / 1.736 GB, free: 207.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00622/9.649, allocations: 0.8621 MB / 1.736 GB, free: 207.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008026/9.65, allocations: 2.744 MB / 1.739 GB, free: 204.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.585e-05/9.65, allocations: 7 kB / 1.739 GB, free: 204.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006875/9.651, allocations: 75.56 kB / 1.739 GB, free: 204.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/9.653, allocations: 158.2 kB / 1.739 GB, free: 204.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/9.654, allocations: 1.162 MB / 1.74 GB, free: 203.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/9.656, allocations: 106.9 kB / 1.741 GB, free: 203.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/9.656, allocations: 43.66 kB / 1.741 GB, free: 203.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/9.656, allocations: 6.219 kB / 1.741 GB, free: 203.7 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002803/9.659, allocations: 0.6703 MB / 1.741 GB, free: 203.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/9.659, allocations: 10.06 kB / 1.741 GB, free: 203.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003366/9.659, allocations: 76.69 kB / 1.741 GB, free: 203.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/9.66, allocations: 153 kB / 1.741 GB, free: 203.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/9.662, allocations: 1.155 MB / 1.743 GB, free: 202.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/9.663, allocations: 94.08 kB / 1.743 GB, free: 202.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/9.664, allocations: 38.36 kB / 1.743 GB, free: 202.6 MB / 0.8386 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: subSta.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 65 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004208/9.664, allocations: 170.6 kB / 1.743 GB, free: 202.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/9.664, allocations: 127.7 kB / 1.743 GB, free: 202.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/9.668, allocations: 0.8569 MB / 1.744 GB, free: 202.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/9.668, allocations: 10.91 kB / 1.744 GB, free: 202.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/9.668, allocations: 0 / 1.744 GB, free: 202.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/9.668, allocations: 6.75 kB / 1.744 GB, free: 202.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005265/9.673, allocations: 1.772 MB / 1.746 GB, free: 201.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/9.673, allocations: 3.719 kB / 1.746 GB, free: 201.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009569/9.674, allocations: 105.7 kB / 1.746 GB, free: 201.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/9.675, allocations: 61.5 kB / 1.746 GB, free: 201.9 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.805e-05/9.675, allocations: 17.44 kB / 1.746 GB, free: 201.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/9.676, allocations: 1.148 MB / 1.747 GB, free: 200.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/9.676, allocations: 0 / 1.747 GB, free: 200.8 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002875/9.679, allocations: 0.9335 MB / 1.748 GB, free: 200.5 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002944/9.682, allocations: 1.382 MB / 1.749 GB, free: 199.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/9.683, allocations: 294.8 kB / 1.749 GB, free: 199.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004413/9.683, allocations: 7.844 kB / 1.749 GB, free: 199.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/9.685, allocations: 80.44 kB / 1.75 GB, free: 199.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/9.685, allocations: 34.22 kB / 1.75 GB, free: 199.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/9.686, allocations: 30.75 kB / 1.75 GB, free: 199.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.002/9.688, allocations: 0.7455 MB / 1.75 GB, free: 199.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.009307/9.697, allocations: 0.9738 MB / 1.751 GB, free: 199.4 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002594/9.7, allocations: 0.9606 MB / 1.752 GB, free: 199.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003497/9.703, allocations: 0.9752 MB / 1.753 GB, free: 199.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/9.703, allocations: 0 / 1.753 GB, free: 199.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/9.705, allocations: 338.4 kB / 1.753 GB, free: 199.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006428/9.711, allocations: 0.5205 MB / 1.754 GB, free: 199.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008711/9.72, allocations: 1.653 MB / 1.756 GB, free: 198.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/9.721, allocations: 1.346 MB / 1.757 GB, free: 198 MB / 0.8386 GB Notification: Performance of SimCode: time 2.294e-06/9.722, allocations: 0 / 1.757 GB, free: 198 MB / 0.8386 GB