Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.267/4.267, allocations: 404 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2575/4.525, allocations: 95 MB / 0.4941 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5994/5.124, allocations: 92.69 MB / 0.5846 GB, free: 3.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.642/11.77, allocations: 2.403 GB / 2.988 GB, free: 171.4 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004695/11.77, allocations: 78.77 kB / 2.988 GB, free: 171.4 MB / 0.7761 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$setHeaHigPow.getTableValueNoDer. [/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$setHeaHigPow.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$setHeaHigPow.getTableTimeTmax. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$setCooLimPow.getTableValueNoDer. [/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$setCooLimPow.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$setCooLimPow.getTableTimeTmax. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$setHeaCooUnl.getTableValueNoDer. [/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$setHeaCooUnl.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$setHeaCooUnl.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 3.183/14.95, allocations: 0.5662 GB / 3.554 GB, free: 176.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/14.95, allocations: 11.44 kB / 3.554 GB, free: 176.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/14.96, allocations: 0.6726 MB / 3.555 GB, free: 176.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006847/14.97, allocations: 0.9645 MB / 3.556 GB, free: 175.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/14.97, allocations: 30.22 kB / 3.556 GB, free: 175.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005056/14.97, allocations: 68.59 kB / 3.556 GB, free: 175.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003363/14.97, allocations: 0.6531 MB / 3.556 GB, free: 175.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/14.98, allocations: 1.069 MB / 3.557 GB, free: 175.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/14.98, allocations: 7.625 kB / 3.558 GB, free: 175.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/14.98, allocations: 6.969 kB / 3.558 GB, free: 175.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.149e-05/14.98, allocations: 37.5 kB / 3.558 GB, free: 175.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/14.99, allocations: 7.307 MB / 3.565 GB, free: 170 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/14.99, allocations: 0.6686 MB / 3.565 GB, free: 169.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008057/14.99, allocations: 289.5 kB / 3.566 GB, free: 169.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/14.99, allocations: 0.7817 MB / 3.566 GB, free: 169 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/14.99, allocations: 458 kB / 3.567 GB, free: 168.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=55): time 4.689e-06/14.99, allocations: 0 / 3.567 GB, free: 168.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=55): time 0.003399/15, allocations: 0.6579 MB / 3.567 GB, free: 168.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/15, allocations: 325.8 kB / 3.568 GB, free: 168.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/15, allocations: 0.9365 MB / 3.569 GB, free: 168.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002826/15, allocations: 35.84 kB / 3.569 GB, free: 168.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005056/15, allocations: 0.5134 MB / 3.569 GB, free: 167.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/15, allocations: 185.5 kB / 3.569 GB, free: 167.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/15, allocations: 3.812 kB / 3.569 GB, free: 167.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001076/15, allocations: 350 kB / 3.57 GB, free: 167.4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/15, allocations: 321.1 kB / 3.57 GB, free: 167.4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/15, allocations: 0.8159 MB / 3.571 GB, free: 166.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/15.01, allocations: 439.7 kB / 3.571 GB, free: 166.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/15.01, allocations: 3.844 kB / 3.571 GB, free: 166.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004213/15.01, allocations: 1.137 MB / 3.572 GB, free: 166.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/15.01, allocations: 11.03 kB / 3.572 GB, free: 166.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.081e-05/15.01, allocations: 15.34 kB / 3.572 GB, free: 166.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.104e-05/15.01, allocations: 18.88 kB / 3.572 GB, free: 166.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/15.01, allocations: 338.5 kB / 3.573 GB, free: 166.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.653e-05/15.01, allocations: 30.08 kB / 3.573 GB, free: 166.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003735/15.02, allocations: 253.4 kB / 3.573 GB, free: 166.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003305/15.02, allocations: 69.94 kB / 3.573 GB, free: 166.6 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003929/15.02, allocations: 154.5 kB / 3.573 GB, free: 166.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004162/15.02, allocations: 123.1 kB / 3.573 GB, free: 166.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003931/15.02, allocations: 0.8809 MB / 3.574 GB, free: 166.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/15.02, allocations: 10.53 kB / 3.574 GB, free: 166.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/15.02, allocations: 0 / 3.574 GB, free: 166.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/15.02, allocations: 7 kB / 3.574 GB, free: 166.4 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/15.03, allocations: 1.478 MB / 3.576 GB, free: 165.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/15.03, allocations: 0 / 3.576 GB, free: 165.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002527/15.03, allocations: 205.2 kB / 3.576 GB, free: 165.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.655e-05/15.03, allocations: 7 kB / 3.576 GB, free: 165.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/15.03, allocations: 21.23 kB / 3.576 GB, free: 165.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.968e-06/15.03, allocations: 5.156 kB / 3.576 GB, free: 165.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/15.03, allocations: 0 / 3.576 GB, free: 165.8 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004095/15.03, allocations: 1.245 MB / 3.577 GB, free: 165.5 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005285/15.04, allocations: 2.049 MB / 3.579 GB, free: 164.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009981/15.04, allocations: 282.8 kB / 3.579 GB, free: 164.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/15.04, allocations: 11.8 kB / 3.579 GB, free: 164.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/15.04, allocations: 139.7 kB / 3.58 GB, free: 164 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/15.04, allocations: 41.19 kB / 3.58 GB, free: 164 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/15.04, allocations: 30.17 kB / 3.58 GB, free: 164 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.001461/15.04, allocations: 0.6814 MB / 3.58 GB, free: 163.7 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003664/15.05, allocations: 482.8 kB / 3.581 GB, free: 163.6 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002853/15.05, allocations: 0.9163 MB / 3.582 GB, free: 163.3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00286/15.05, allocations: 0.9386 MB / 3.583 GB, free: 163 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/15.05, allocations: 0 / 3.583 GB, free: 163 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/15.05, allocations: 335.5 kB / 3.583 GB, free: 162.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/15.06, allocations: 294.3 kB / 3.583 GB, free: 162.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007048/15.07, allocations: 1.807 MB / 3.585 GB, free: 162.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/15.07, allocations: 1.313 MB / 3.586 GB, free: 161.4 MB / 0.7761 GB Notification: Performance of SimCode: time 1.764e-06/15.07, allocations: 3.875 kB / 3.586 GB, free: 161.4 MB / 0.7761 GB