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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.8492/0.8492, allocations: 127.4 MB / 134.6 MB, free: 4.125 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.002303/0.002303, allocations: 185.3 kB / 164.4 MB, free: 6.91 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.786/1.786, allocations: 205.1 MB / 399.1 MB, free: 6.176 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: 97.81 kB / 476.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3691/0.3703, allocations: 82.88 MB / 0.546 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.5731, allocations: 76.75 MB / 0.621 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.589/6.162, allocations: 2.137 GB / 2.758 GB, free: 61.87 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/6.162, allocations: 83.95 kB / 2.758 GB, free: 61.79 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: 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.8492/7.011, allocations: 166.7 MB / 2.921 GB, free: 148 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.525e-05/7.011, allocations: 8 kB / 2.921 GB, free: 148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/7.012, allocations: 19.81 kB / 2.921 GB, free: 148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/7.012, allocations: 251.7 kB / 2.921 GB, free: 147.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/7.012, allocations: 11.91 kB / 2.921 GB, free: 147.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/7.012, allocations: 8 kB / 2.921 GB, free: 147.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001491/7.012, allocations: 44.47 kB / 2.921 GB, free: 147.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/7.013, allocations: 163.6 kB / 2.921 GB, free: 147.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/7.013, allocations: 7.938 kB / 2.921 GB, free: 147.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/7.013, allocations: 0 / 2.921 GB, free: 147.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/7.013, allocations: 4 kB / 2.921 GB, free: 147.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009936/7.014, allocations: 1.103 MB / 2.922 GB, free: 146.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.121e-05/7.014, allocations: 173.1 kB / 2.922 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/7.014, allocations: 80.14 kB / 2.922 GB, free: 146 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/7.014, allocations: 79.22 kB / 2.923 GB, free: 145.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/7.014, allocations: 109.8 kB / 2.923 GB, free: 145.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.754e-06/7.014, allocations: 0 / 2.923 GB, free: 145.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001111/7.014, allocations: 45.59 kB / 2.923 GB, free: 145.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/7.014, allocations: 106.8 kB / 2.923 GB, free: 145.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/7.014, allocations: 157.4 kB / 2.923 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/7.014, allocations: 25.7 kB / 2.923 GB, free: 145.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/7.014, allocations: 131.6 kB / 2.923 GB, free: 145.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/7.014, allocations: 0 / 2.923 GB, free: 145.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/7.014, allocations: 0 / 2.923 GB, free: 145.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/7.014, allocations: 322.7 kB / 2.923 GB, free: 145 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/7.014, allocations: 12.22 kB / 2.923 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/7.015, allocations: 67.66 kB / 2.923 GB, free: 144.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/7.015, allocations: 19.94 kB / 2.924 GB, free: 144.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/7.015, allocations: 0 / 2.924 GB, free: 144.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001995/7.015, allocations: 73.52 kB / 2.924 GB, free: 144.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/7.015, allocations: 7.938 kB / 2.924 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/7.015, allocations: 0 / 2.924 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/7.015, allocations: 4 kB / 2.924 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/7.015, allocations: 8 kB / 2.924 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/7.015, allocations: 0 / 2.924 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.843e-05/7.015, allocations: 16 kB / 2.924 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/7.015, allocations: 0 / 2.924 GB, free: 144.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 0.0001129/7.015, allocations: 181.1 kB / 2.924 GB, free: 144.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/7.015, allocations: 124.7 kB / 2.924 GB, free: 144.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/7.015, allocations: 113.5 kB / 2.924 GB, free: 144.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.684e-05/7.015, allocations: 180.3 kB / 2.924 GB, free: 144.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-05/7.016, allocations: 188.2 kB / 2.924 GB, free: 143.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.409e-05/7.016, allocations: 180.2 kB / 2.925 GB, free: 143.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/7.016, allocations: 421.8 kB / 2.925 GB, free: 143.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.533e-05/7.016, allocations: 105 kB / 2.925 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/7.016, allocations: 105 kB / 2.925 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.481e-05/7.016, allocations: 184.2 kB / 2.925 GB, free: 142.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.507e-05/7.016, allocations: 184.2 kB / 2.925 GB, free: 142.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.244e-05/7.016, allocations: 177.7 kB / 2.926 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.407e-05/7.016, allocations: 180.2 kB / 2.926 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001612/7.016, allocations: 315.7 kB / 2.926 GB, free: 142 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004504/7.017, allocations: 0.707 MB / 2.927 GB, free: 141.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/7.017, allocations: 190 kB / 2.927 GB, free: 141 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/7.017, allocations: 176.3 kB / 2.927 GB, free: 140.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/7.017, allocations: 104.9 kB / 2.927 GB, free: 140.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/7.017, allocations: 184.6 kB / 2.927 GB, free: 140.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/7.017, allocations: 105 kB / 2.928 GB, free: 140.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.869e-05/7.017, allocations: 132.2 kB / 2.928 GB, free: 140.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001424/7.019, allocations: 171.8 kB / 2.928 GB, free: 140.2 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.002043/7.021, allocations: 1.183 MB / 2.929 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001489/7.021, allocations: 19.94 kB / 2.929 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/7.021, allocations: 0 / 2.929 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-06/7.021, allocations: 4.25 kB / 2.929 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/7.022, allocations: 0.5381 MB / 2.93 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/7.022, allocations: 222.8 kB / 2.93 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/7.022, allocations: 0.7348 MB / 2.93 GB, free: 137.5 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/7.022, allocations: 3.938 kB / 2.93 GB, free: 137.5 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)