Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Validation_FlowSplitter_u",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.566/2.566, allocations: 284.8 MB / 292.1 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001671/0.00167, allocations: 181.2 kB / 360.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.1 MB / 0.6187 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001263, allocations: 98.25 kB / 0.7317 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2903/0.2916, allocations: 121.4 MB / 0.8502 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6588/0.9505, allocations: 115.2 MB / 0.9627 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.121/6.072, allocations: 2.061 GB / 3.024 GB, free: 273.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/6.072, allocations: 82.81 kB / 3.024 GB, free: 273.6 MB / 0.9323 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$sou$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$floSpl$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/FMI/FlowSplitter_u.mo:68:5-68:46:writable] Warning: Connecting two signal sources while connecting outlet[1].forward to inlet.forward. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/FMI/FlowSplitter_u.mo:68:5-68:46:writable] Warning: Connecting two signal sources while connecting outlet[2].forward to inlet.forward. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.5265/6.599, allocations: 169.3 MB / 3.19 GB, free: 169 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/6.599, allocations: 12.44 kB / 3.19 GB, free: 169 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/6.599, allocations: 19.81 kB / 3.19 GB, free: 168.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/6.599, allocations: 262.7 kB / 3.19 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/6.599, allocations: 4 kB / 3.19 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/6.599, allocations: 7.906 kB / 3.19 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001658/6.599, allocations: 48.45 kB / 3.19 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/6.6, allocations: 155.6 kB / 3.19 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/6.6, allocations: 3.984 kB / 3.19 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/6.6, allocations: 7.984 kB / 3.19 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/6.6, allocations: 0 / 3.19 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009019/6.601, allocations: 1.11 MB / 3.191 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.626e-05/6.601, allocations: 169.1 kB / 3.191 GB, free: 167 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/6.601, allocations: 84.08 kB / 3.191 GB, free: 167 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/6.601, allocations: 75.28 kB / 3.192 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/6.601, allocations: 109.8 kB / 3.192 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/6.601, allocations: 4 kB / 3.192 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 9.865e-05/6.601, allocations: 41.53 kB / 3.192 GB, free: 166.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/6.601, allocations: 102.8 kB / 3.192 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/6.601, allocations: 161.4 kB / 3.192 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/6.601, allocations: 25.7 kB / 3.192 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/6.601, allocations: 127.6 kB / 3.192 GB, free: 166.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/6.601, allocations: 0 / 3.192 GB, free: 166.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/6.601, allocations: 0 / 3.192 GB, free: 166.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.086e-05/6.601, allocations: 330.7 kB / 3.192 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.495e-05/6.601, allocations: 8 kB / 3.192 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.301e-05/6.602, allocations: 63.72 kB / 3.192 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/6.602, allocations: 19.94 kB / 3.192 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/6.602, allocations: 0 / 3.192 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001851/6.602, allocations: 73.52 kB / 3.193 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/6.602, allocations: 4 kB / 3.193 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/6.602, allocations: 0 / 3.193 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/6.602, allocations: 4 kB / 3.193 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.967e-05/6.602, allocations: 4.156 kB / 3.193 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/6.602, allocations: 11.94 kB / 3.193 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/6.602, allocations: 11.84 kB / 3.193 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/6.602, allocations: 0 / 3.193 GB, free: 165.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 7.286e-05/6.602, allocations: 188 kB / 3.193 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/6.602, allocations: 112.9 kB / 3.193 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/6.602, allocations: 117.3 kB / 3.193 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/6.602, allocations: 180.9 kB / 3.193 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.469e-05/6.602, allocations: 188.2 kB / 3.193 GB, free: 164.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.48e-05/6.602, allocations: 184.2 kB / 3.193 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/6.603, allocations: 421.8 kB / 3.194 GB, free: 164.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/6.603, allocations: 101 kB / 3.194 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/6.603, allocations: 104.9 kB / 3.194 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.759e-05/6.603, allocations: 185.6 kB / 3.194 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/6.603, allocations: 180.3 kB / 3.194 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.533e-05/6.603, allocations: 184.2 kB / 3.195 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.281e-05/6.603, allocations: 180.2 kB / 3.195 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001056/6.603, allocations: 319.7 kB / 3.195 GB, free: 163 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002877/6.603, allocations: 0.6993 MB / 3.196 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/6.603, allocations: 198.2 kB / 3.196 GB, free: 162 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/6.604, allocations: 180.3 kB / 3.196 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/6.604, allocations: 109 kB / 3.196 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/6.604, allocations: 180.2 kB / 3.196 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/6.604, allocations: 101 kB / 3.197 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0001344/6.604, allocations: 129 kB / 3.197 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001576/6.605, allocations: 175.7 kB / 3.197 GB, free: 161.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001404/6.607, allocations: 1.157 MB / 3.198 GB, free: 160 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001429/6.607, allocations: 19.94 kB / 3.198 GB, free: 160 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/6.607, allocations: 0 / 3.198 GB, free: 160 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 3.447e-06/6.607, allocations: 3.984 kB / 3.198 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/6.607, allocations: 0.547 MB / 3.198 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/6.608, allocations: 212.7 kB / 3.199 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/6.608, allocations: 0.7387 MB / 3.199 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.362e-06/6.608, allocations: 0 / 3.199 GB, free: 158.4 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)