Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.209/2.209, allocations: 390.4 MB / 397.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 177.3 kB / 490.8 MB, free: 1.953 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 89.81 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.77/0.7711, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/1.106, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.023/5.128, allocations: 1.718 GB / 2.929 GB, free: 153.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/5.129, allocations: 83.45 kB / 2.929 GB, free: 153.1 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.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/Buildings 10.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: 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.9703/6.099, allocations: 159.4 MB / 3.085 GB, free: 381.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/6.099, allocations: 6.219 kB / 3.085 GB, free: 381.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/6.099, allocations: 25.11 kB / 3.085 GB, free: 381.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/6.1, allocations: 258.5 kB / 3.085 GB, free: 381.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/6.1, allocations: 3.5 kB / 3.085 GB, free: 381.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/6.1, allocations: 13.23 kB / 3.085 GB, free: 381.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001488/6.1, allocations: 46.77 kB / 3.085 GB, free: 381.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/6.1, allocations: 162 kB / 3.086 GB, free: 381.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/6.1, allocations: 0 / 3.086 GB, free: 381.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/6.1, allocations: 3.281 kB / 3.086 GB, free: 381.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/6.1, allocations: 3.938 kB / 3.086 GB, free: 381.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009568/6.101, allocations: 1.12 MB / 3.087 GB, free: 380.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 6.062e-05/6.101, allocations: 165.1 kB / 3.087 GB, free: 380.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/6.101, allocations: 83.7 kB / 3.087 GB, free: 380.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/6.101, allocations: 75.28 kB / 3.087 GB, free: 380.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/6.101, allocations: 117.3 kB / 3.087 GB, free: 380 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/6.101, allocations: 0 / 3.087 GB, free: 380 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 0.0001001/6.101, allocations: 33.55 kB / 3.087 GB, free: 380 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/6.102, allocations: 102.8 kB / 3.087 GB, free: 379.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/6.102, allocations: 156.9 kB / 3.087 GB, free: 379.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/6.102, allocations: 25.7 kB / 3.087 GB, free: 379.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/6.102, allocations: 130.2 kB / 3.087 GB, free: 379.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/6.102, allocations: 0 / 3.087 GB, free: 379.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/6.102, allocations: 0 / 3.087 GB, free: 379.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.946e-05/6.102, allocations: 329.3 kB / 3.088 GB, free: 379.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/6.102, allocations: 7.578 kB / 3.088 GB, free: 379.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-05/6.102, allocations: 74.3 kB / 3.088 GB, free: 379.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/6.102, allocations: 18.27 kB / 3.088 GB, free: 379.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/6.102, allocations: 0 / 3.088 GB, free: 379.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001622/6.102, allocations: 73.48 kB / 3.088 GB, free: 379.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/6.102, allocations: 3.875 kB / 3.088 GB, free: 379.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/6.102, allocations: 0 / 3.088 GB, free: 379.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/6.102, allocations: 3.281 kB / 3.088 GB, free: 379.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/6.102, allocations: 14.2 kB / 3.088 GB, free: 379.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/6.102, allocations: 0 / 3.088 GB, free: 379.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/6.102, allocations: 7.875 kB / 3.088 GB, free: 379.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/6.102, allocations: 6.969 kB / 3.088 GB, free: 379.2 MB / 1.151 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 9.144e-05/6.103, allocations: 179.6 kB / 3.088 GB, free: 379 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.098e-05/6.103, allocations: 119.7 kB / 3.088 GB, free: 378.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/6.103, allocations: 124.2 kB / 3.088 GB, free: 378.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.043e-05/6.103, allocations: 176.3 kB / 3.089 GB, free: 378.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.484e-05/6.103, allocations: 184.2 kB / 3.089 GB, free: 378.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-05/6.103, allocations: 184 kB / 3.089 GB, free: 378.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/6.103, allocations: 427.6 kB / 3.089 GB, free: 377.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-05/6.103, allocations: 104.8 kB / 3.089 GB, free: 377.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/6.103, allocations: 101 kB / 3.09 GB, free: 377.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.944e-05/6.103, allocations: 178.1 kB / 3.09 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/6.103, allocations: 187.5 kB / 3.09 GB, free: 377.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.784e-05/6.103, allocations: 182.8 kB / 3.09 GB, free: 377.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.471e-05/6.103, allocations: 179.9 kB / 3.09 GB, free: 376.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001335/6.103, allocations: 313.6 kB / 3.091 GB, free: 376.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003635/6.104, allocations: 0.7083 MB / 3.091 GB, free: 375.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/6.104, allocations: 189.5 kB / 3.091 GB, free: 375.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/6.104, allocations: 180.1 kB / 3.092 GB, free: 375.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/6.104, allocations: 107.5 kB / 3.092 GB, free: 375.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/6.104, allocations: 179.5 kB / 3.092 GB, free: 375.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/6.104, allocations: 104.7 kB / 3.092 GB, free: 375.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001/6.104, allocations: 131.4 kB / 3.092 GB, free: 375.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001313/6.106, allocations: 175 kB / 3.092 GB, free: 375 MB / 1.151 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.001504/6.107, allocations: 1.166 MB / 3.093 GB, free: 374.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001014/6.107, allocations: 18.19 kB / 3.093 GB, free: 374.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/6.107, allocations: 3.938 kB / 3.093 GB, free: 374.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/6.107, allocations: 0 / 3.093 GB, free: 374.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/6.108, allocations: 0.5389 MB / 3.094 GB, free: 374.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/6.108, allocations: 219.4 kB / 3.094 GB, free: 374.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/6.108, allocations: 0.7375 MB / 3.095 GB, free: 373.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.31e-07/6.108, allocations: 0 / 3.095 GB, free: 373.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat does not exist to compare? outputFormat=mat