Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u") translateModel(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.681/0.681, allocations: 127.4 MB / 134.6 MB, free: 4.121 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001218/0.001218, allocations: 173.3 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.1 MB / 399.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 89.09 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.848e-06/9.868e-06, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1957, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.478/5.673, allocations: 2.137 GB / 2.758 GB, free: 76.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/5.674, allocations: 81.52 kB / 2.758 GB, free: 76.74 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/FlowSplitter_u.mo:61:5-61:46:writable] Warning: Connecting two signal sources while connecting outlet[1].forward to inlet.forward. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/FlowSplitter_u.mo:61:5-61:46:writable] Warning: Connecting two signal sources while connecting outlet[2].forward to inlet.forward. Notification: Performance of FrontEnd: time 0.8166/6.49, allocations: 166.3 MB / 2.92 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.043e-05/6.491, allocations: 7.125 kB / 2.92 GB, free: 162.4 MB / 0.6355 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.000409/6.491, allocations: 402.2 kB / 2.921 GB, free: 162 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/6.491, allocations: 8.031 kB / 2.921 GB, free: 162 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.283e-05/6.491, allocations: 19.81 kB / 2.921 GB, free: 162 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/6.492, allocations: 258.8 kB / 2.921 GB, free: 161.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/6.492, allocations: 7.906 kB / 2.921 GB, free: 161.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/6.492, allocations: 8 kB / 2.921 GB, free: 161.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001293/6.492, allocations: 48.41 kB / 2.921 GB, free: 161.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/6.492, allocations: 159.6 kB / 2.921 GB, free: 161.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/6.492, allocations: 4 kB / 2.921 GB, free: 161.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/6.492, allocations: 0 / 2.921 GB, free: 161.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/6.492, allocations: 4 kB / 2.921 GB, free: 161.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008158/6.493, allocations: 1.117 MB / 2.922 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.357e-05/6.493, allocations: 169.1 kB / 2.922 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/6.493, allocations: 80.14 kB / 2.922 GB, free: 160 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/6.493, allocations: 79.28 kB / 2.922 GB, free: 159.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/6.493, allocations: 105.8 kB / 2.923 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.023e-06/6.493, allocations: 0 / 2.923 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.305e-05/6.493, allocations: 37.61 kB / 2.923 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/6.493, allocations: 110.7 kB / 2.923 GB, free: 159.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/6.493, allocations: 158.1 kB / 2.923 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/6.493, allocations: 25.7 kB / 2.923 GB, free: 159.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/6.493, allocations: 135.6 kB / 2.923 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/6.493, allocations: 0 / 2.923 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/6.493, allocations: 0 / 2.923 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.132e-05/6.494, allocations: 322.7 kB / 2.923 GB, free: 159 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/6.494, allocations: 12 kB / 2.923 GB, free: 159 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-05/6.494, allocations: 63.72 kB / 2.923 GB, free: 158.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/6.494, allocations: 15.94 kB / 2.923 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/6.494, allocations: 4 kB / 2.923 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001538/6.494, allocations: 77.58 kB / 2.924 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/6.494, allocations: 4 kB / 2.924 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/6.494, allocations: 0 / 2.924 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/6.494, allocations: 4 kB / 2.924 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/6.494, allocations: 12 kB / 2.924 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/6.494, allocations: 0 / 2.924 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.536e-05/6.494, allocations: 7.906 kB / 2.924 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/6.494, allocations: 4 kB / 2.924 GB, free: 158.7 MB / 0.6355 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.88e-05/6.494, allocations: 184.1 kB / 2.924 GB, free: 158.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/6.494, allocations: 121.6 kB / 2.924 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/6.494, allocations: 113.4 kB / 2.924 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-05/6.494, allocations: 188.2 kB / 2.924 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.634e-05/6.494, allocations: 176.3 kB / 2.924 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-05/6.494, allocations: 184.2 kB / 2.924 GB, free: 157.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/6.495, allocations: 425.7 kB / 2.925 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/6.495, allocations: 101 kB / 2.925 GB, free: 157.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/6.495, allocations: 105 kB / 2.925 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.974e-05/6.495, allocations: 188.2 kB / 2.925 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/6.495, allocations: 176.3 kB / 2.925 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.804e-05/6.495, allocations: 180.4 kB / 2.926 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.357e-05/6.495, allocations: 189.6 kB / 2.926 GB, free: 156.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001054/6.495, allocations: 315.7 kB / 2.926 GB, free: 156 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/6.495, allocations: 189.9 kB / 2.926 GB, free: 155.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/6.495, allocations: 180.2 kB / 2.926 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/6.495, allocations: 105 kB / 2.927 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/6.495, allocations: 188.2 kB / 2.927 GB, free: 155.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/6.495, allocations: 101 kB / 2.927 GB, free: 155.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.77e-05/6.495, allocations: 127.5 kB / 2.927 GB, free: 155.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004198/6.496, allocations: 83.88 kB / 2.927 GB, free: 155 MB / 0.6355 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.001556/6.497, allocations: 1.172 MB / 2.928 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001041/6.497, allocations: 23.92 kB / 2.928 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/6.497, allocations: 0 / 2.928 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/6.497, allocations: 320 / 2.928 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/6.498, allocations: 0.5379 MB / 2.929 GB, free: 153.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/6.498, allocations: 218.8 kB / 2.929 GB, free: 153.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/6.498, allocations: 0.7426 MB / 2.93 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/6.498, allocations: 0 / 2.93 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.01159/6.51, allocations: 6.821 MB / 2.936 GB, free: 145.6 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)