Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir") [: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.738/0.738, allocations: 141.8 MB / 149.1 MB, free: 13.19 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 190.5 kB / 181.9 MB, free: 9.879 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.505/1.505, allocations: 221.3 MB / 436 MB, free: 2.297 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.001398/0.001398, allocations: 89.5 kB / 0.507 GB, free: 11.07 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002125/0.002125, allocations: 278.6 kB / 0.5884 GB, free: 7.887 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 1.078e-05/1.081e-05, allocations: 2.438 kB / 0.6759 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2025, allocations: 82.77 MB / 0.7567 GB, free: 119.2 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.443/5.646, allocations: 2.127 GB / 2.883 GB, free: 139.8 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/5.646, allocations: 91.75 kB / 2.883 GB, free: 139.7 MB / 0.6982 GB [/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$conAir$bacPro_internal 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$conAir$inlet$forward 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$conAirRevFlo$bacPro_internal 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$conAirRevFlo$inlet$forward 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$conAirRevFlo$inlet$backward 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/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 (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/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$souRev$outlet$forward 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$souRev$outlet$backward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd: time 0.2444/5.891, allocations: 136.6 MB / 3.017 GB, free: 1.641 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 2.333e-05/5.891, allocations: 4 kB / 3.017 GB, free: 1.637 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003477/5.891, allocations: 406.1 kB / 3.017 GB, free: 1.195 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/5.891, allocations: 8.031 kB / 3.017 GB, free: 1.188 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.455e-05/5.891, allocations: 19.72 kB / 3.017 GB, free: 1.168 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/5.891, allocations: 253.4 kB / 3.017 GB, free: 0.8789 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/5.891, allocations: 4 kB / 3.017 GB, free: 0.875 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/5.891, allocations: 8.219 kB / 3.017 GB, free: 0.8672 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001025/5.892, allocations: 44 kB / 3.018 GB, free: 0.8242 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/5.892, allocations: 212.5 kB / 3.018 GB, free: 0.5586 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/5.892, allocations: 0 / 3.018 GB, free: 0.5586 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/5.892, allocations: 7.984 kB / 3.018 GB, free: 0.5508 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/5.892, allocations: 7.906 kB / 3.018 GB, free: 0.543 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2979/6.19, allocations: 1.527 MB / 3.019 GB, free: 245 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 6.398e-05/6.19, allocations: 165.1 kB / 3.019 GB, free: 244.9 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/6.19, allocations: 84.92 kB / 3.019 GB, free: 244.8 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/6.19, allocations: 75.28 kB / 3.02 GB, free: 244.7 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/6.19, allocations: 109.3 kB / 3.02 GB, free: 244.6 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=0): time 2.335e-06/6.19, allocations: 6.375 kB / 3.02 GB, free: 244.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=0): time 0.0001056/6.19, allocations: 42.72 kB / 3.02 GB, free: 244.6 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/6.19, allocations: 51.41 kB / 3.02 GB, free: 244.5 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/6.19, allocations: 138.8 kB / 3.02 GB, free: 244.4 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/6.19, allocations: 25.7 kB / 3.02 GB, free: 244.4 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/6.19, allocations: 148.8 kB / 3.02 GB, free: 244.3 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-06/6.19, allocations: 2.906 kB / 3.02 GB, free: 244.3 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/6.19, allocations: 5.156 kB / 3.02 GB, free: 244.3 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.644e-05/6.19, allocations: 320.1 kB / 3.02 GB, free: 244 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/6.19, allocations: 3.438 kB / 3.02 GB, free: 244 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.463e-05/6.191, allocations: 47.73 kB / 3.02 GB, free: 243.9 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/6.191, allocations: 14.31 kB / 3.02 GB, free: 243.9 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/6.191, allocations: 6.125 kB / 3.02 GB, free: 243.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001648/6.191, allocations: 67.31 kB / 3.02 GB, free: 243.9 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/6.191, allocations: 6.938 kB / 3.02 GB, free: 243.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/6.191, allocations: 3.844 kB / 3.02 GB, free: 243.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/6.191, allocations: 2.625 kB / 3.02 GB, free: 243.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/6.191, allocations: 14.66 kB / 3.02 GB, free: 243.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/6.191, allocations: 3.875 kB / 3.02 GB, free: 243.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.573e-05/6.191, allocations: 5.875 kB / 3.021 GB, free: 243.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/6.191, allocations: 7.531 kB / 3.021 GB, free: 243.9 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.622e-05/6.191, allocations: 187.7 kB / 3.021 GB, free: 243.7 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/6.191, allocations: 112.1 kB / 3.021 GB, free: 243.6 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/6.191, allocations: 119.5 kB / 3.021 GB, free: 243.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/6.191, allocations: 176.3 kB / 3.021 GB, free: 243.3 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.028e-05/6.191, allocations: 178.7 kB / 3.021 GB, free: 243.1 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.858e-05/6.191, allocations: 187.6 kB / 3.021 GB, free: 242.9 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/6.192, allocations: 423.4 kB / 3.022 GB, free: 242.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/6.192, allocations: 101 kB / 3.022 GB, free: 242.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.682e-05/6.192, allocations: 110.6 kB / 3.022 GB, free: 242.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.661e-05/6.192, allocations: 179.3 kB / 3.022 GB, free: 242.1 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/6.192, allocations: 183 kB / 3.022 GB, free: 241.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.93e-05/6.192, allocations: 186.7 kB / 3.023 GB, free: 241.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-05/6.192, allocations: 181.8 kB / 3.023 GB, free: 241.6 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.636e-05/6.192, allocations: 311.7 kB / 3.023 GB, free: 241.3 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/6.192, allocations: 189.6 kB / 3.023 GB, free: 241.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/6.192, allocations: 181.4 kB / 3.023 GB, free: 240.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/6.192, allocations: 105.8 kB / 3.023 GB, free: 240.8 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/6.192, allocations: 181.9 kB / 3.024 GB, free: 240.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/6.192, allocations: 101 kB / 3.024 GB, free: 240.5 MB / 0.6982 GB Notification: Performance of sort global known variables: time 6.547e-05/6.192, allocations: 116.8 kB / 3.024 GB, free: 240.4 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0005165/6.193, allocations: 66 kB / 3.024 GB, free: 240.4 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.001033/6.194, allocations: 0.744 MB / 3.025 GB, free: 240.2 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 8.849e-05/6.194, allocations: 22.25 kB / 3.025 GB, free: 240.2 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/6.194, allocations: 0 / 3.025 GB, free: 240.2 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/6.194, allocations: 0 / 3.025 GB, free: 240.2 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/6.194, allocations: 0.5257 MB / 3.025 GB, free: 239.7 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/6.195, allocations: 211 kB / 3.025 GB, free: 239.5 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/6.195, allocations: 0.7287 MB / 3.026 GB, free: 238.8 MB / 0.6982 GB Notification: Performance of SimCode: time 3.1e-07/6.195, allocations: 3.062 kB / 3.026 GB, free: 238.8 MB / 0.6982 GB Notification: Performance of Templates: time 0.01096/6.206, allocations: 3.997 MB / 3.03 GB, free: 238.8 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)