Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u") translateModel(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7659/0.7659, allocations: 141.8 MB / 149.1 MB, free: 3.887 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 182.9 kB / 181.9 MB, free: 15.61 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.3 MB / 436 MB, free: 8.75 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 97.69 kB / 0.507 GB, free: 24.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001918/0.001918, allocations: 281.1 kB / 0.5884 GB, free: 11.82 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.185e-06/8.215e-06, allocations: 0 / 0.6759 GB, free: 2.191 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.5347, allocations: 82.76 MB / 0.7567 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.14/4.675, allocations: 1.677 GB / 2.434 GB, free: 127.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/4.675, allocations: 87.89 kB / 2.434 GB, free: 127.8 MB / 0.6982 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/Fluid/FMI/FlowSplitter_u.mo:68:5-68:46:writable] Warning: Connecting two signal sources while connecting outlet[2].forward to inlet.forward. Notification: Performance of FrontEnd: time 0.7794/5.455, allocations: 159.1 MB / 2.589 GB, free: 232.4 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 2.933e-05/5.455, allocations: 7.938 kB / 2.589 GB, free: 232.4 MB / 0.6982 GB 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.0004584/5.455, allocations: 401.8 kB / 2.59 GB, free: 232.1 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/5.455, allocations: 8.688 kB / 2.59 GB, free: 232.1 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.719e-05/5.455, allocations: 18.53 kB / 2.59 GB, free: 232.1 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/5.456, allocations: 256.4 kB / 2.59 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/5.456, allocations: 7.438 kB / 2.59 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/5.456, allocations: 10.44 kB / 2.59 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001353/5.456, allocations: 48.11 kB / 2.59 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/5.456, allocations: 162.7 kB / 2.59 GB, free: 231.8 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/5.456, allocations: 3.75 kB / 2.59 GB, free: 231.8 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/5.456, allocations: 0 / 2.59 GB, free: 231.8 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/5.456, allocations: 3.625 kB / 2.59 GB, free: 231.8 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008158/5.457, allocations: 1.107 MB / 2.591 GB, free: 230.8 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 5.645e-05/5.457, allocations: 170.7 kB / 2.591 GB, free: 230.6 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/5.457, allocations: 80.14 kB / 2.592 GB, free: 230.5 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/5.457, allocations: 82.09 kB / 2.592 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/5.457, allocations: 112.1 kB / 2.592 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=0): time 1.853e-06/5.457, allocations: 3.938 kB / 2.592 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=0): time 0.0001004/5.458, allocations: 40.45 kB / 2.592 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/5.458, allocations: 102.8 kB / 2.592 GB, free: 230.2 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/5.458, allocations: 165.5 kB / 2.592 GB, free: 230.1 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/5.458, allocations: 25.7 kB / 2.592 GB, free: 230 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/5.458, allocations: 129.7 kB / 2.592 GB, free: 229.9 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/5.458, allocations: 0 / 2.592 GB, free: 229.9 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/5.458, allocations: 0 / 2.592 GB, free: 229.9 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.511e-05/5.458, allocations: 329.4 kB / 2.592 GB, free: 229.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/5.458, allocations: 7.438 kB / 2.592 GB, free: 229.6 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-05/5.458, allocations: 68.16 kB / 2.593 GB, free: 229.6 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/5.458, allocations: 23.45 kB / 2.593 GB, free: 229.6 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/5.458, allocations: 0 / 2.593 GB, free: 229.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000156/5.458, allocations: 70.03 kB / 2.593 GB, free: 229.5 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/5.458, allocations: 12.23 kB / 2.593 GB, free: 229.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/5.458, allocations: 0 / 2.593 GB, free: 229.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/5.458, allocations: 5.438 kB / 2.593 GB, free: 229.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/5.458, allocations: 7 kB / 2.593 GB, free: 229.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/5.458, allocations: 0 / 2.593 GB, free: 229.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.616e-05/5.458, allocations: 10.62 kB / 2.593 GB, free: 229.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/5.458, allocations: 10.56 kB / 2.593 GB, free: 229.5 MB / 0.6982 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.21e-05/5.459, allocations: 183.8 kB / 2.593 GB, free: 229.3 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/5.459, allocations: 119.4 kB / 2.593 GB, free: 229.2 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/5.459, allocations: 115.5 kB / 2.593 GB, free: 229.1 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/5.459, allocations: 176.3 kB / 2.593 GB, free: 228.9 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.806e-05/5.459, allocations: 183.5 kB / 2.593 GB, free: 228.8 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.661e-05/5.459, allocations: 180.1 kB / 2.594 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/5.459, allocations: 426.6 kB / 2.594 GB, free: 228.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/5.459, allocations: 101 kB / 2.594 GB, free: 228.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/5.459, allocations: 101 kB / 2.594 GB, free: 227.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-05/5.459, allocations: 186.5 kB / 2.594 GB, free: 227.8 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/5.459, allocations: 178 kB / 2.595 GB, free: 227.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.54e-05/5.459, allocations: 184 kB / 2.595 GB, free: 227.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.839e-05/5.459, allocations: 183.8 kB / 2.595 GB, free: 227.2 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.921e-05/5.459, allocations: 310.9 kB / 2.595 GB, free: 226.9 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/5.459, allocations: 191.3 kB / 2.595 GB, free: 226.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/5.459, allocations: 188.2 kB / 2.596 GB, free: 226.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9e-05/5.46, allocations: 112.7 kB / 2.596 GB, free: 226.4 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/5.46, allocations: 180.2 kB / 2.596 GB, free: 226.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/5.46, allocations: 101.6 kB / 2.596 GB, free: 226.1 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.00015/5.46, allocations: 122.7 kB / 2.596 GB, free: 226.1 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0004416/5.46, allocations: 83.91 kB / 2.596 GB, free: 226.1 MB / 0.6982 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.001952/5.462, allocations: 1.174 MB / 2.597 GB, free: 225.8 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0001374/5.462, allocations: 20.66 kB / 2.597 GB, free: 225.8 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/5.462, allocations: 2.875 kB / 2.597 GB, free: 225.8 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 2.474e-06/5.462, allocations: 0 / 2.597 GB, free: 225.8 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/5.463, allocations: 0.5359 MB / 2.598 GB, free: 225.2 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/5.463, allocations: 216.4 kB / 2.598 GB, free: 225.1 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/5.463, allocations: 0.7334 MB / 2.599 GB, free: 224.4 MB / 0.6982 GB Notification: Performance of SimCode: time 3.31e-07/5.463, allocations: 0 / 2.599 GB, free: 224.4 MB / 0.6982 GB Notification: Performance of Templates: time 0.01212/5.476, allocations: 6.656 MB / 2.605 GB, free: 223.5 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)