Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.095/2.095, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001348/0.001348, allocations: 168.7 kB / 487 MB, free: 5.387 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.511/1.511, allocations: 221.3 MB / 0.7819 GB, free: 1.438 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.001039/0.001039, allocations: 109.2 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.661/0.6621, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.9789, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.052/6.031, allocations: 2.172 GB / 3.378 GB, free: 128.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/6.032, allocations: 95.2 kB / 3.378 GB, free: 128.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 (3) 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 (3) 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 (3) 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 (3) 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 (3) 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 (3) 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 (3) 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 (3) 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 1.196/7.227, allocations: 329.3 MB / 3.699 GB, free: 258.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/7.227, allocations: 8 kB / 3.699 GB, free: 258.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.249e-05/7.228, allocations: 27.72 kB / 3.699 GB, free: 258.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/7.228, allocations: 279.7 kB / 3.699 GB, free: 258 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/7.228, allocations: 11.94 kB / 3.699 GB, free: 258 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/7.228, allocations: 23.91 kB / 3.699 GB, free: 257.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002088/7.228, allocations: 101.3 kB / 3.7 GB, free: 257.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/7.229, allocations: 311.3 kB / 3.7 GB, free: 257.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/7.229, allocations: 0 / 3.7 GB, free: 257.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/7.229, allocations: 4 kB / 3.7 GB, free: 257.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/7.229, allocations: 4 kB / 3.7 GB, free: 257.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009549/7.23, allocations: 1.711 MB / 3.702 GB, free: 255.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 4.792e-05/7.23, allocations: 165.1 kB / 3.702 GB, free: 255.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/7.23, allocations: 88.14 kB / 3.702 GB, free: 255.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/7.23, allocations: 75.28 kB / 3.702 GB, free: 255.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/7.23, allocations: 117.7 kB / 3.702 GB, free: 255.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/7.23, allocations: 0 / 3.702 GB, free: 255.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 8.071e-05/7.23, allocations: 37.55 kB / 3.702 GB, free: 255.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/7.23, allocations: 51.41 kB / 3.702 GB, free: 255.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/7.23, allocations: 135.6 kB / 3.702 GB, free: 255 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/7.23, allocations: 33.7 kB / 3.702 GB, free: 254.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/7.23, allocations: 183.5 kB / 3.702 GB, free: 254.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-06/7.23, allocations: 4 kB / 3.702 GB, free: 254.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/7.23, allocations: 0 / 3.702 GB, free: 254.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.892e-05/7.23, allocations: 318.8 kB / 3.703 GB, free: 254.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/7.23, allocations: 4 kB / 3.703 GB, free: 254.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/7.23, allocations: 32.62 kB / 3.703 GB, free: 254.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.52e-05/7.23, allocations: 11.98 kB / 3.703 GB, free: 254.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/7.23, allocations: 3.938 kB / 3.703 GB, free: 254.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001252/7.23, allocations: 69.47 kB / 3.703 GB, free: 254.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/7.23, allocations: 4 kB / 3.703 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/7.23, allocations: 4.156 kB / 3.703 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/7.23, allocations: 4 kB / 3.703 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.82e-05/7.23, allocations: 8.125 kB / 3.703 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/7.23, allocations: 7.984 kB / 3.703 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/7.231, allocations: 7.844 kB / 3.703 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/7.231, allocations: 4 kB / 3.703 GB, free: 254.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 5.111e-05/7.231, allocations: 180.2 kB / 3.703 GB, free: 254.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/7.231, allocations: 120.8 kB / 3.703 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/7.231, allocations: 113.5 kB / 3.703 GB, free: 253.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/7.231, allocations: 184.2 kB / 3.703 GB, free: 253.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.871e-05/7.231, allocations: 176.3 kB / 3.704 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/7.231, allocations: 180.2 kB / 3.704 GB, free: 253.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/7.231, allocations: 449.7 kB / 3.704 GB, free: 252.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/7.231, allocations: 109 kB / 3.704 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/7.231, allocations: 105 kB / 3.704 GB, free: 252.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.797e-05/7.231, allocations: 184.1 kB / 3.705 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/7.231, allocations: 180.3 kB / 3.705 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.235e-05/7.231, allocations: 186 kB / 3.705 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.528e-05/7.231, allocations: 184.2 kB / 3.705 GB, free: 251.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.168e-05/7.231, allocations: 307.7 kB / 3.705 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002895/7.232, allocations: 0.7148 MB / 3.706 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/7.232, allocations: 186 kB / 3.706 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/7.232, allocations: 192.2 kB / 3.706 GB, free: 250.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/7.232, allocations: 101 kB / 3.707 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/7.232, allocations: 176.3 kB / 3.707 GB, free: 250.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/7.232, allocations: 108.9 kB / 3.707 GB, free: 249.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.334e-05/7.232, allocations: 112 kB / 3.707 GB, free: 249.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001304/7.233, allocations: 259.6 kB / 3.707 GB, free: 249.6 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.001592/7.235, allocations: 1.491 MB / 3.709 GB, free: 248 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 6.845e-05/7.235, allocations: 16 kB / 3.709 GB, free: 248 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/7.235, allocations: 3.938 kB / 3.709 GB, free: 248 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/7.235, allocations: 0 / 3.709 GB, free: 248 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/7.235, allocations: 0.5227 MB / 3.709 GB, free: 247.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/7.236, allocations: 295.5 kB / 3.709 GB, free: 247.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/7.236, allocations: 0.7699 MB / 3.71 GB, free: 246.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/7.236, allocations: 4 kB / 3.71 GB, free: 246.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat does not exist to compare? outputFormat=mat