Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.021/2.021, allocations: 387.2 MB / 394.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 187.4 kB / 487 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 221.3 MB / 0.7819 GB, free: 6.766 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009587/0.0009587, allocations: 94.73 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3372/0.3382, allocations: 148.5 MB / 1.066 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/1.149, allocations: 142.3 MB / 1.205 GB, free: 72.71 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.963/5.112, allocations: 1.717 GB / 2.922 GB, free: 371.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/5.112, allocations: 84.55 kB / 2.922 GB, free: 371.8 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.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.2708/5.383, allocations: 159.5 MB / 3.078 GB, free: 209 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/5.383, allocations: 11.94 kB / 3.078 GB, free: 208.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/5.383, allocations: 19.81 kB / 3.078 GB, free: 208.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/5.384, allocations: 250.6 kB / 3.078 GB, free: 208.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/5.384, allocations: 4 kB / 3.078 GB, free: 208.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/5.384, allocations: 8 kB / 3.078 GB, free: 208.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001084/5.384, allocations: 48.45 kB / 3.078 GB, free: 208.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/5.384, allocations: 159.6 kB / 3.078 GB, free: 208.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/5.384, allocations: 4 kB / 3.078 GB, free: 208.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/5.384, allocations: 0 / 3.078 GB, free: 208.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/5.384, allocations: 4 kB / 3.078 GB, free: 208.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006744/5.385, allocations: 1.11 MB / 3.079 GB, free: 207.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 4.736e-05/5.385, allocations: 165.1 kB / 3.08 GB, free: 207 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/5.385, allocations: 92.12 kB / 3.08 GB, free: 206.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/5.385, allocations: 75.28 kB / 3.08 GB, free: 206.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/5.385, allocations: 105.9 kB / 3.08 GB, free: 206.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/5.385, allocations: 0 / 3.08 GB, free: 206.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 7.295e-05/5.385, allocations: 45.45 kB / 3.08 GB, free: 206.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/5.385, allocations: 110.8 kB / 3.08 GB, free: 206.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/5.385, allocations: 154.5 kB / 3.08 GB, free: 206.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/5.385, allocations: 25.7 kB / 3.08 GB, free: 206.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/5.385, allocations: 135.5 kB / 3.08 GB, free: 206.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/5.385, allocations: 0 / 3.08 GB, free: 206.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/5.385, allocations: 0 / 3.08 GB, free: 206.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.932e-05/5.385, allocations: 322.8 kB / 3.081 GB, free: 205.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/5.385, allocations: 8 kB / 3.081 GB, free: 205.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.712e-05/5.385, allocations: 63.72 kB / 3.081 GB, free: 205.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.262e-05/5.385, allocations: 19.92 kB / 3.081 GB, free: 205.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/5.385, allocations: 0 / 3.081 GB, free: 205.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001358/5.386, allocations: 77.53 kB / 3.081 GB, free: 205.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/5.386, allocations: 4 kB / 3.081 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/5.386, allocations: 0 / 3.081 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/5.386, allocations: 7.906 kB / 3.081 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/5.386, allocations: 11.94 kB / 3.081 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/5.386, allocations: 0 / 3.081 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/5.386, allocations: 15.86 kB / 3.081 GB, free: 205.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/5.386, allocations: 3.938 kB / 3.081 GB, free: 205.7 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 6.833e-05/5.386, allocations: 184.4 kB / 3.081 GB, free: 205.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/5.386, allocations: 116.8 kB / 3.081 GB, free: 205.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/5.386, allocations: 125.3 kB / 3.081 GB, free: 205.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.911e-05/5.386, allocations: 180.3 kB / 3.081 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.167e-05/5.386, allocations: 180.3 kB / 3.082 GB, free: 204.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.01e-05/5.386, allocations: 180.2 kB / 3.082 GB, free: 204.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/5.386, allocations: 425.8 kB / 3.082 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.025e-05/5.386, allocations: 106.6 kB / 3.082 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.955e-05/5.386, allocations: 104.9 kB / 3.082 GB, free: 204 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.252e-05/5.386, allocations: 184.2 kB / 3.083 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/5.386, allocations: 176.3 kB / 3.083 GB, free: 203.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-05/5.386, allocations: 184.2 kB / 3.083 GB, free: 203.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.039e-05/5.386, allocations: 176.3 kB / 3.083 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.51e-05/5.387, allocations: 315.7 kB / 3.083 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002547/5.387, allocations: 0.711 MB / 3.084 GB, free: 202.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/5.387, allocations: 190.2 kB / 3.084 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/5.387, allocations: 176.3 kB / 3.084 GB, free: 201.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/5.387, allocations: 108.9 kB / 3.085 GB, free: 201.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/5.387, allocations: 184.2 kB / 3.085 GB, free: 201.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/5.387, allocations: 105 kB / 3.085 GB, free: 201.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.846e-05/5.387, allocations: 127.3 kB / 3.085 GB, free: 201.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001066/5.388, allocations: 179.8 kB / 3.085 GB, free: 201.1 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.001103/5.389, allocations: 1.154 MB / 3.086 GB, free: 199.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 9.399e-05/5.389, allocations: 27.92 kB / 3.086 GB, free: 199.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/5.389, allocations: 0 / 3.086 GB, free: 199.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/5.389, allocations: 3.938 kB / 3.086 GB, free: 199.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/5.39, allocations: 0.5263 MB / 3.087 GB, free: 199.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/5.39, allocations: 223.1 kB / 3.087 GB, free: 199.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/5.39, allocations: 0.7309 MB / 3.088 GB, free: 198.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/5.39, allocations: 3.938 kB / 3.088 GB, free: 198.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat does not exist to compare? outputFormat=mat