Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.395/1.395, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009967/0.0009965, allocations: 177.3 kB / 361.1 MB, free: 7.082 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.242/1.242, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.000857/0.0008572, allocations: 96.3 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2257/0.2266, allocations: 121.4 MB / 0.8511 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5586/0.7852, allocations: 115.3 MB / 0.9637 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.125/3.91, allocations: 2.062 GB / 3.025 GB, free: 95.24 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/3.91, allocations: 84.52 kB / 3.025 GB, free: 95.16 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.6312/4.541, allocations: 169.3 MB / 3.191 GB, free: 303.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/4.542, allocations: 10.61 kB / 3.191 GB, free: 303.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/4.542, allocations: 24.3 kB / 3.191 GB, free: 303.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/4.542, allocations: 252.2 kB / 3.191 GB, free: 303.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/4.542, allocations: 2.938 kB / 3.191 GB, free: 303.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/4.542, allocations: 8.594 kB / 3.191 GB, free: 303.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001112/4.542, allocations: 48.42 kB / 3.191 GB, free: 303.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/4.542, allocations: 166 kB / 3.191 GB, free: 302.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/4.542, allocations: 3.938 kB / 3.191 GB, free: 302.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/4.542, allocations: 0 / 3.191 GB, free: 302.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/4.542, allocations: 2.875 kB / 3.191 GB, free: 302.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006712/4.543, allocations: 1.112 MB / 3.192 GB, free: 301.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.865e-05/4.543, allocations: 172 kB / 3.193 GB, free: 301.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/4.543, allocations: 88.08 kB / 3.193 GB, free: 301.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/4.543, allocations: 75.28 kB / 3.193 GB, free: 301.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/4.543, allocations: 109.8 kB / 3.193 GB, free: 301.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.963e-06/4.543, allocations: 0 / 3.193 GB, free: 301.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 7.591e-05/4.543, allocations: 39.3 kB / 3.193 GB, free: 301.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/4.543, allocations: 106.1 kB / 3.193 GB, free: 301.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/4.543, allocations: 153.8 kB / 3.193 GB, free: 301.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/4.543, allocations: 29.7 kB / 3.193 GB, free: 301 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/4.544, allocations: 134.7 kB / 3.193 GB, free: 300.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/4.544, allocations: 3.938 kB / 3.193 GB, free: 300.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-06/4.544, allocations: 0 / 3.193 GB, free: 300.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.379e-05/4.544, allocations: 321.6 kB / 3.194 GB, free: 300.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/4.544, allocations: 2.906 kB / 3.194 GB, free: 300.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/4.544, allocations: 75.75 kB / 3.194 GB, free: 300.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.125e-05/4.544, allocations: 20.3 kB / 3.194 GB, free: 300.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/4.544, allocations: 0 / 3.194 GB, free: 300.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001312/4.544, allocations: 78.53 kB / 3.194 GB, free: 300.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/4.544, allocations: 5.812 kB / 3.194 GB, free: 300.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/4.544, allocations: 0 / 3.194 GB, free: 300.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/4.544, allocations: 3.031 kB / 3.194 GB, free: 300.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.649e-05/4.544, allocations: 9.734 kB / 3.194 GB, free: 300.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/4.544, allocations: 2.594 kB / 3.194 GB, free: 300.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.855e-05/4.544, allocations: 2.375 kB / 3.194 GB, free: 300.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/4.544, allocations: 2.688 kB / 3.194 GB, free: 300.4 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 5.852e-05/4.544, allocations: 190.7 kB / 3.194 GB, free: 300.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/4.544, allocations: 114.5 kB / 3.194 GB, free: 300.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/4.544, allocations: 118.8 kB / 3.194 GB, free: 300 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/4.544, allocations: 176.3 kB / 3.194 GB, free: 299.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.632e-05/4.544, allocations: 180.2 kB / 3.194 GB, free: 299.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/4.544, allocations: 178.9 kB / 3.195 GB, free: 299.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/4.544, allocations: 432.4 kB / 3.195 GB, free: 299 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/4.544, allocations: 104.9 kB / 3.195 GB, free: 298.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.317e-05/4.544, allocations: 104 kB / 3.195 GB, free: 298.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-05/4.544, allocations: 178.1 kB / 3.195 GB, free: 298.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/4.545, allocations: 180.2 kB / 3.196 GB, free: 298.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.447e-05/4.545, allocations: 176.4 kB / 3.196 GB, free: 298.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.939e-05/4.545, allocations: 195 kB / 3.196 GB, free: 298.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.213e-05/4.545, allocations: 313.5 kB / 3.196 GB, free: 297.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002135/4.545, allocations: 0.7069 MB / 3.197 GB, free: 297 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/4.545, allocations: 188.7 kB / 3.197 GB, free: 296.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/4.545, allocations: 178.7 kB / 3.197 GB, free: 296.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/4.545, allocations: 108.9 kB / 3.197 GB, free: 296.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/4.545, allocations: 180.6 kB / 3.198 GB, free: 296.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/4.545, allocations: 103.5 kB / 3.198 GB, free: 296.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.597e-05/4.545, allocations: 130.3 kB / 3.198 GB, free: 296.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001112/4.546, allocations: 171.8 kB / 3.198 GB, free: 296 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.001066/4.547, allocations: 1.173 MB / 3.199 GB, free: 295.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.666e-05/4.547, allocations: 22.84 kB / 3.199 GB, free: 295.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/4.548, allocations: 0 / 3.199 GB, free: 295.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/4.548, allocations: 0 / 3.199 GB, free: 295.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/4.548, allocations: 0.5331 MB / 3.2 GB, free: 294.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/4.548, allocations: 224.1 kB / 3.2 GB, free: 294.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/4.548, allocations: 0.7322 MB / 3.201 GB, free: 294 MB / 0.948 GB Notification: Performance of SimCode: time 2.71e-07/4.548, allocations: 0 / 3.201 GB, free: 294 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)