Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001759/0.00176, allocations: 181.2 kB / 366.3 MB, free: 1.969 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.642/1.642, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.001008/0.001008, allocations: 88.91 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3111/0.3122, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7393/1.051, allocations: 116.3 MB / 0.9726 GB, free: 68.33 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.565/5.616, allocations: 2.063 GB / 3.035 GB, free: 13.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/5.617, allocations: 80.73 kB / 3.035 GB, free: 13.42 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.9189/6.536, allocations: 169.3 MB / 3.201 GB, free: 227.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/6.536, allocations: 8 kB / 3.201 GB, free: 227.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/6.536, allocations: 19.81 kB / 3.201 GB, free: 227.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/6.536, allocations: 261.9 kB / 3.201 GB, free: 226.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/6.536, allocations: 4 kB / 3.201 GB, free: 226.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/6.536, allocations: 8 kB / 3.201 GB, free: 226.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001311/6.537, allocations: 52.45 kB / 3.201 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/6.537, allocations: 159.7 kB / 3.201 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/6.537, allocations: 0 / 3.201 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/6.537, allocations: 8 kB / 3.201 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/6.537, allocations: 4 kB / 3.201 GB, free: 226.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008612/6.538, allocations: 1.11 MB / 3.202 GB, free: 225.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.983e-05/6.538, allocations: 177.1 kB / 3.202 GB, free: 225.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/6.538, allocations: 84.14 kB / 3.202 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/6.538, allocations: 75.28 kB / 3.203 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/6.538, allocations: 109.8 kB / 3.203 GB, free: 225 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/6.538, allocations: 0 / 3.203 GB, free: 225 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 0.0001101/6.538, allocations: 33.61 kB / 3.203 GB, free: 225 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/6.538, allocations: 110.8 kB / 3.203 GB, free: 224.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/6.538, allocations: 150.7 kB / 3.203 GB, free: 224.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/6.538, allocations: 25.7 kB / 3.203 GB, free: 224.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/6.538, allocations: 135.5 kB / 3.203 GB, free: 224.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/6.538, allocations: 4.219 kB / 3.203 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-06/6.538, allocations: 0 / 3.203 GB, free: 224.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.244e-05/6.538, allocations: 322.8 kB / 3.203 GB, free: 224.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/6.538, allocations: 12 kB / 3.203 GB, free: 224.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.625e-05/6.538, allocations: 63.72 kB / 3.203 GB, free: 224.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.533e-05/6.539, allocations: 23.83 kB / 3.203 GB, free: 224.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/6.539, allocations: 4 kB / 3.203 GB, free: 224.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000149/6.539, allocations: 69.53 kB / 3.204 GB, free: 224 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/6.539, allocations: 4 kB / 3.204 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/6.539, allocations: 0 / 3.204 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/6.539, allocations: 4 kB / 3.204 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.464e-05/6.539, allocations: 11.94 kB / 3.204 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/6.539, allocations: 3.984 kB / 3.204 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.593e-05/6.539, allocations: 7.906 kB / 3.204 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/6.539, allocations: 4.156 kB / 3.204 GB, free: 223.9 MB / 0.948 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 8.483e-05/6.539, allocations: 184.3 kB / 3.204 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/6.539, allocations: 108.9 kB / 3.204 GB, free: 223.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/6.539, allocations: 117.4 kB / 3.204 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-05/6.539, allocations: 180.3 kB / 3.204 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-05/6.539, allocations: 180.2 kB / 3.204 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.05e-05/6.539, allocations: 188.2 kB / 3.205 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/6.539, allocations: 421.8 kB / 3.205 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/6.54, allocations: 105 kB / 3.205 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/6.54, allocations: 104.9 kB / 3.205 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.11e-05/6.54, allocations: 182 kB / 3.205 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/6.54, allocations: 180.3 kB / 3.205 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.695e-05/6.54, allocations: 184.2 kB / 3.206 GB, free: 221.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-05/6.54, allocations: 184.3 kB / 3.206 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001048/6.54, allocations: 311.6 kB / 3.206 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002945/6.54, allocations: 0.711 MB / 3.207 GB, free: 220.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/6.54, allocations: 193.9 kB / 3.207 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/6.54, allocations: 176.3 kB / 3.207 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-05/6.54, allocations: 101.1 kB / 3.207 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/6.54, allocations: 188.5 kB / 3.207 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/6.54, allocations: 109 kB / 3.208 GB, free: 219.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.111e-05/6.541, allocations: 123.5 kB / 3.208 GB, free: 219.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001171/6.542, allocations: 175.8 kB / 3.208 GB, free: 219.4 MB / 0.948 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.001406/6.543, allocations: 1.165 MB / 3.209 GB, free: 218.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001036/6.543, allocations: 23.92 kB / 3.209 GB, free: 218.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/6.543, allocations: 0 / 3.209 GB, free: 218.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/6.543, allocations: 0 / 3.209 GB, free: 218.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/6.544, allocations: 0.546 MB / 3.21 GB, free: 217.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/6.544, allocations: 218.8 kB / 3.21 GB, free: 217.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/6.544, allocations: 0.7348 MB / 3.21 GB, free: 216.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.3e-07/6.544, allocations: 0 / 3.21 GB, free: 216.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)