Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.055/2.055, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001157/0.001157, allocations: 176.7 kB / 487 MB, free: 5.406 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.548/1.548, allocations: 221.3 MB / 0.7819 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 92.62 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6693/0.6705, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.9914, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.142/5.134, allocations: 1.717 GB / 2.922 GB, free: 112.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/5.134, allocations: 90.55 kB / 2.923 GB, free: 112.7 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$conAir$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$conAir$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$conAirRevFlo$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$conAirRevFlo$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$conAirRevFlo$inlet$backward 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$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$souRev$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$souRev$outlet$backward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 1.206/6.34, allocations: 291.8 MB / 3.207 GB, free: 286.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/6.34, allocations: 8 kB / 3.207 GB, free: 286.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.712e-05/6.34, allocations: 23.72 kB / 3.208 GB, free: 286.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/6.341, allocations: 259.9 kB / 3.208 GB, free: 286.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/6.341, allocations: 4 kB / 3.208 GB, free: 286.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/6.341, allocations: 12 kB / 3.208 GB, free: 286.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001387/6.341, allocations: 56.88 kB / 3.208 GB, free: 286.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/6.341, allocations: 226.4 kB / 3.208 GB, free: 286 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/6.341, allocations: 3.938 kB / 3.208 GB, free: 286 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/6.341, allocations: 0 / 3.208 GB, free: 286 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/6.341, allocations: 12 kB / 3.208 GB, free: 285.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007895/6.342, allocations: 1.36 MB / 3.209 GB, free: 284.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 5.231e-05/6.342, allocations: 177.2 kB / 3.21 GB, free: 284.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/6.342, allocations: 84.12 kB / 3.21 GB, free: 284.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/6.342, allocations: 75.28 kB / 3.21 GB, free: 284.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/6.342, allocations: 113.8 kB / 3.21 GB, free: 284 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/6.342, allocations: 0 / 3.21 GB, free: 284 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 8.018e-05/6.342, allocations: 33.61 kB / 3.21 GB, free: 284 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/6.342, allocations: 51.41 kB / 3.21 GB, free: 283.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/6.342, allocations: 127 kB / 3.21 GB, free: 283.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/6.342, allocations: 25.7 kB / 3.21 GB, free: 283.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/6.342, allocations: 159.6 kB / 3.21 GB, free: 283.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/6.342, allocations: 4 kB / 3.21 GB, free: 283.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/6.342, allocations: 4 kB / 3.21 GB, free: 283.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.791e-05/6.343, allocations: 318.8 kB / 3.211 GB, free: 283.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-06/6.343, allocations: 4 kB / 3.211 GB, free: 283.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.816e-05/6.343, allocations: 23.44 kB / 3.211 GB, free: 283.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.511e-05/6.343, allocations: 11.92 kB / 3.211 GB, free: 283.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/6.343, allocations: 8 kB / 3.211 GB, free: 283.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001258/6.343, allocations: 49.55 kB / 3.211 GB, free: 283.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/6.343, allocations: 6.812 kB / 3.211 GB, free: 283.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/6.343, allocations: 0 / 3.211 GB, free: 283.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/6.343, allocations: 4 kB / 3.211 GB, free: 283.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/6.343, allocations: 11.92 kB / 3.211 GB, free: 283.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/6.343, allocations: 0 / 3.211 GB, free: 283.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/6.343, allocations: 11.84 kB / 3.211 GB, free: 283.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/6.343, allocations: 128 / 3.211 GB, free: 283.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.505e-05/6.343, allocations: 189.7 kB / 3.211 GB, free: 283 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/6.343, allocations: 112.8 kB / 3.211 GB, free: 282.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/6.343, allocations: 112.6 kB / 3.211 GB, free: 282.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-05/6.343, allocations: 176.3 kB / 3.211 GB, free: 282.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.408e-05/6.343, allocations: 180.2 kB / 3.211 GB, free: 282.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.492e-05/6.343, allocations: 188.2 kB / 3.212 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/6.343, allocations: 429.7 kB / 3.212 GB, free: 281.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/6.343, allocations: 108.9 kB / 3.212 GB, free: 281.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/6.343, allocations: 101 kB / 3.212 GB, free: 281.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.685e-05/6.344, allocations: 176.3 kB / 3.212 GB, free: 281.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/6.344, allocations: 188.3 kB / 3.212 GB, free: 281.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.674e-05/6.344, allocations: 184.2 kB / 3.213 GB, free: 280.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.802e-05/6.344, allocations: 186.1 kB / 3.213 GB, free: 280.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.803e-05/6.344, allocations: 307.6 kB / 3.213 GB, free: 280.4 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00033/6.344, allocations: 0.7227 MB / 3.214 GB, free: 279.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/6.344, allocations: 186 kB / 3.214 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/6.344, allocations: 180.2 kB / 3.214 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.536e-05/6.344, allocations: 108.9 kB / 3.214 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/6.344, allocations: 184.2 kB / 3.214 GB, free: 279 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/6.344, allocations: 101 kB / 3.215 GB, free: 278.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.582e-05/6.344, allocations: 108.1 kB / 3.215 GB, free: 278.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001312/6.346, allocations: 251.7 kB / 3.215 GB, free: 278.5 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.001559/6.347, allocations: 1.49 MB / 3.216 GB, free: 277 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 7.001e-05/6.347, allocations: 11.94 kB / 3.216 GB, free: 277 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/6.347, allocations: 4 kB / 3.216 GB, free: 277 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/6.347, allocations: 0 / 3.216 GB, free: 277 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/6.348, allocations: 0.5185 MB / 3.217 GB, free: 276.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/6.348, allocations: 243.2 kB / 3.217 GB, free: 276.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/6.348, allocations: 0.7366 MB / 3.218 GB, free: 275.4 MB / 1.151 GB Notification: Performance of SimCode: time 3.21e-07/6.348, allocations: 3.938 kB / 3.218 GB, free: 275.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat does not exist to compare? outputFormat=mat