Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"dynamic"}) [: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.28/4.28, allocations: 404 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2752/4.555, allocations: 94.99 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5433/5.099, allocations: 92.69 MB / 0.5846 GB, free: 3.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/6.308, allocations: 458 MB / 1.032 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/6.308, allocations: 83.95 kB / 1.032 GB, free: 4.426 MB / 0.7136 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QHea1.getDerTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QHea1.getTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QHea1.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QHea1.getTableTimeTmax. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QHea2.getDerTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QHea2.getTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QHea2.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QHea2.getTableTimeTmax. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QCoo1.getDerTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QCoo1.getTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QCoo1.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QCoo1.getTableTimeTmax. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QCoo2.getDerTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QCoo2.getTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QCoo2.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$QCoo2.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1820 * Number of variables: 1820 Notification: Performance of Generate backend data structure: time 28.93/35.24, allocations: 5.066 GB / 6.098 GB, free: 32.38 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/35.24, allocations: 9.125 kB / 6.098 GB, free: 32.38 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03041/35.27, allocations: 2.801 MB / 6.1 GB, free: 31.56 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09915/35.37, allocations: 19.92 MB / 6.12 GB, free: 29.12 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007273/35.37, allocations: 239.2 kB / 6.12 GB, free: 29.12 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003914/35.38, allocations: 455.5 kB / 6.121 GB, free: 29.12 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02653/35.4, allocations: 5.676 MB / 6.126 GB, free: 29.09 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03327/35.44, allocations: 7.363 MB / 6.133 GB, free: 27.68 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004243/35.44, allocations: 21.88 kB / 6.133 GB, free: 27.66 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002725/35.44, allocations: 14.94 kB / 6.133 GB, free: 27.66 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002984/35.44, allocations: 201.3 kB / 6.134 GB, free: 27.66 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1073/35.55, allocations: 47.13 MB / 6.18 GB, free: 12.12 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007994/35.55, allocations: 2.268 MB / 6.182 GB, free: 11.22 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007171/35.56, allocations: 2.137 MB / 6.184 GB, free: 10.39 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03662/35.6, allocations: 9.191 MB / 6.193 GB, free: 4.176 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009316/35.61, allocations: 2.117 MB / 6.195 GB, free: 3.121 MB / 1.042 GB Notification: Performance of pre-optimization done (n=368): time 1.772e-05/35.61, allocations: 0 / 6.195 GB, free: 3.121 MB / 1.042 GB Notification: Performance of matching and sorting (n=380): time 0.1353/35.74, allocations: 12.98 MB / 6.208 GB, free: 7.34 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/35.74, allocations: 148.9 kB / 6.208 GB, free: 7.172 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03001/35.77, allocations: 7.47 MB / 6.215 GB, free: 0.5586 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.00145/35.77, allocations: 37.7 kB / 6.215 GB, free: 0.5156 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.007435/35.78, allocations: 3.164 MB / 6.218 GB, free: 13.84 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.00504/35.79, allocations: 1.261 MB / 6.219 GB, free: 12.68 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009731/35.79, allocations: 8 kB / 6.219 GB, free: 12.67 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0006509/35.79, allocations: 0.4965 MB / 6.22 GB, free: 12.23 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007382/35.8, allocations: 1.713 MB / 6.222 GB, free: 10.62 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/35.81, allocations: 3.658 MB / 6.225 GB, free: 6.238 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/35.82, allocations: 2.565 MB / 6.228 GB, free: 4.066 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.483e-05/35.82, allocations: 12 kB / 6.228 GB, free: 4.055 MB / 1.073 GB Notification: Performance of matching and sorting (n=656) (initialization): time 1.443/37.26, allocations: 6.427 MB / 6.234 GB, free: 147.6 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.006184/37.27, allocations: 29.42 MB / 6.263 GB, free: 118.2 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002117/37.27, allocations: 52.09 kB / 6.263 GB, free: 118.2 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/37.27, allocations: 0.492 MB / 6.263 GB, free: 118.1 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0139/37.29, allocations: 1.226 MB / 6.264 GB, free: 118.1 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00968/37.3, allocations: 8.195 MB / 6.272 GB, free: 111.5 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01908/37.32, allocations: 0.633 MB / 6.273 GB, free: 111.5 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001982/37.32, allocations: 286.9 kB / 6.273 GB, free: 111.5 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/37.32, allocations: 5.469 kB / 6.273 GB, free: 111.5 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02497/37.34, allocations: 5.124 MB / 6.278 GB, free: 111.3 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001875/37.34, allocations: 53.31 kB / 6.278 GB, free: 111.3 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00243/37.34, allocations: 0.4914 MB / 6.279 GB, free: 111.2 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01215/37.36, allocations: 1.154 MB / 6.28 GB, free: 111.2 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009727/37.37, allocations: 8.203 MB / 6.288 GB, free: 104.6 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01692/37.38, allocations: 0.5951 MB / 6.289 GB, free: 104.6 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001812/37.39, allocations: 270.2 kB / 6.289 GB, free: 104.6 MB / 1.073 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: coo2.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea2.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = 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: 226 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (608): * Single equations (assignments): 590 * Array equations: 4 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002621/37.39, allocations: 292.4 kB / 6.289 GB, free: 104.5 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00381/37.39, allocations: 0.9486 MB / 6.29 GB, free: 104.5 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03249/37.42, allocations: 6.271 MB / 6.296 GB, free: 104.1 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001435/37.42, allocations: 49.69 kB / 6.296 GB, free: 104.1 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.992e-05/37.42, allocations: 6.094 kB / 6.296 GB, free: 104.1 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02117/37.45, allocations: 4.43 MB / 6.3 GB, free: 103.8 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05611/37.5, allocations: 12.94 MB / 6.313 GB, free: 102.7 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.892e-05/37.5, allocations: 3.531 kB / 6.313 GB, free: 102.7 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01073/37.51, allocations: 0.7807 MB / 6.314 GB, free: 102.7 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004399/37.52, allocations: 0.884 MB / 6.315 GB, free: 102.6 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001207/37.52, allocations: 83.09 kB / 6.315 GB, free: 102.6 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01604/37.53, allocations: 15.14 MB / 6.33 GB, free: 89.75 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.509e-05/37.53, allocations: 13.09 kB / 6.33 GB, free: 89.75 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03202/37.57, allocations: 9.648 MB / 6.339 GB, free: 87.41 MB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04119/37.61, allocations: 13.12 MB / 6.352 GB, free: 84.27 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008914/37.62, allocations: 1.648 MB / 6.353 GB, free: 83.65 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004676/37.62, allocations: 21.02 kB / 6.353 GB, free: 83.65 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01723/37.64, allocations: 0.6439 MB / 6.354 GB, free: 83.63 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/37.64, allocations: 250.8 kB / 6.354 GB, free: 83.62 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009926/37.64, allocations: 194.1 kB / 6.355 GB, free: 83.62 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.01995/37.66, allocations: 5.601 MB / 6.36 GB, free: 83.34 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.04602/37.71, allocations: 6.913 MB / 6.367 GB, free: 83.33 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (374): * Single equations (assignments): 332 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 20 {1 2,1 2,1 2,1 3,1 3,1 3,1 3,1 2,1 2,1 3,1 3,1 2,1 2,1 2,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0195/37.73, allocations: 6.945 MB / 6.374 GB, free: 80.57 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.02791/37.76, allocations: 8.429 MB / 6.382 GB, free: 79.79 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.982e-05/37.76, allocations: 3 kB / 6.382 GB, free: 79.79 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.009455/37.76, allocations: 2.509 MB / 6.384 GB, free: 79.57 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04936/37.81, allocations: 4.534 MB / 6.389 GB, free: 79.49 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07711/37.89, allocations: 15.78 MB / 6.404 GB, free: 75.98 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0244/37.92, allocations: 6.582 MB / 6.41 GB, free: 75.05 MB / 1.073 GB Notification: Performance of SimCode: time 2.896e-06/37.92, allocations: 0 / 6.41 GB, free: 75.05 MB / 1.073 GB