Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.519/2.519, allocations: 284.8 MB / 292.1 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001616/0.001615, allocations: 177.3 kB / 360.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.1 MB / 0.6187 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 94.02 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2694/0.2708, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6371/0.908, allocations: 115.2 MB / 0.9628 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.393/6.301, allocations: 2.333 GB / 3.296 GB, free: 65.03 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/6.302, allocations: 88.34 kB / 3.296 GB, free: 64.98 MB / 0.9323 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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.456/7.758, allocations: 324.1 MB / 3.612 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/7.758, allocations: 11.94 kB / 3.612 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.361e-05/7.758, allocations: 27.72 kB / 3.612 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/7.758, allocations: 278.6 kB / 3.613 GB, free: 112.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/7.759, allocations: 12 kB / 3.613 GB, free: 112.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/7.759, allocations: 19.94 kB / 3.613 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000307/7.759, allocations: 113.3 kB / 3.613 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/7.759, allocations: 299.3 kB / 3.613 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/7.759, allocations: 0 / 3.613 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/7.759, allocations: 0 / 3.613 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/7.759, allocations: 8 kB / 3.613 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/7.761, allocations: 1.719 MB / 3.615 GB, free: 110.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.971e-05/7.761, allocations: 169.1 kB / 3.615 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/7.761, allocations: 84.05 kB / 3.615 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/7.761, allocations: 79.28 kB / 3.615 GB, free: 110.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/7.761, allocations: 109.8 kB / 3.615 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 3.106e-06/7.761, allocations: 0 / 3.615 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 8.404e-05/7.761, allocations: 37.55 kB / 3.615 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/7.761, allocations: 51.41 kB / 3.615 GB, free: 110 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/7.761, allocations: 140.6 kB / 3.615 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/7.761, allocations: 25.7 kB / 3.615 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/7.761, allocations: 187.5 kB / 3.616 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/7.761, allocations: 0 / 3.616 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/7.761, allocations: 0 / 3.616 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.903e-05/7.761, allocations: 322.8 kB / 3.616 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/7.761, allocations: 4 kB / 3.616 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/7.762, allocations: 32.3 kB / 3.616 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.22e-05/7.762, allocations: 11.94 kB / 3.616 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/7.762, allocations: 0 / 3.616 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001543/7.762, allocations: 61.53 kB / 3.616 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/7.762, allocations: 8 kB / 3.616 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/7.762, allocations: 0 / 3.616 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/7.762, allocations: 0 / 3.616 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/7.762, allocations: 20.05 kB / 3.616 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/7.762, allocations: 4 kB / 3.616 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/7.762, allocations: 4.047 kB / 3.616 GB, free: 109.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/7.762, allocations: 7.938 kB / 3.616 GB, free: 109.1 MB / 0.9323 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.561e-05/7.762, allocations: 188 kB / 3.616 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/7.762, allocations: 112.8 kB / 3.616 GB, free: 108.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/7.762, allocations: 113.5 kB / 3.616 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/7.762, allocations: 184.2 kB / 3.617 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.418e-05/7.762, allocations: 180.8 kB / 3.617 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.391e-05/7.762, allocations: 180.3 kB / 3.617 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/7.763, allocations: 457.6 kB / 3.617 GB, free: 107.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/7.763, allocations: 101 kB / 3.617 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/7.763, allocations: 101 kB / 3.618 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.372e-05/7.763, allocations: 192.2 kB / 3.618 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/7.763, allocations: 184.2 kB / 3.618 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.255e-05/7.763, allocations: 180.2 kB / 3.618 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.571e-05/7.763, allocations: 182 kB / 3.618 GB, free: 106.7 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.702e-05/7.763, allocations: 311.7 kB / 3.619 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003354/7.763, allocations: 0.7187 MB / 3.619 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/7.763, allocations: 182.1 kB / 3.619 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/7.763, allocations: 196.2 kB / 3.62 GB, free: 105.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/7.764, allocations: 101 kB / 3.62 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/7.764, allocations: 176.3 kB / 3.62 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/7.764, allocations: 108.8 kB / 3.62 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0001044/7.764, allocations: 112.9 kB / 3.62 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00206/7.766, allocations: 255.7 kB / 3.62 GB, free: 104.5 MB / 0.9323 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.002095/7.768, allocations: 1.488 MB / 3.622 GB, free: 102.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001468/7.768, allocations: 15.94 kB / 3.622 GB, free: 102.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/7.768, allocations: 0 / 3.622 GB, free: 102.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/7.768, allocations: 0 / 3.622 GB, free: 102.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/7.768, allocations: 0.5311 MB / 3.622 GB, free: 102.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007841/7.769, allocations: 289 kB / 3.623 GB, free: 102.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/7.77, allocations: 0.7738 MB / 3.623 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of SimCode: time 2.555e-06/7.77, allocations: 0 / 3.623 GB, free: 101.3 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)