Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.634/1.634, allocations: 289.8 MB / 297.1 MB, free: 6.594 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.001601/0.001601, allocations: 181.2 kB / 366.3 MB, free: 1.965 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.779/1.779, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.001042/0.001042, allocations: 90.31 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3128/0.3139, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7766/1.09, allocations: 116.3 MB / 0.9726 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.897/6.988, allocations: 2.334 GB / 3.307 GB, free: 89.76 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/6.988, allocations: 84.64 kB / 3.307 GB, free: 89.68 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.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 8.1.4-maint.8.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 8.1.4-maint.8.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 8.1.4-maint.8.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 8.1.4-maint.8.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 8.1.4-maint.8.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 8.1.4-maint.8.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 8.1.4-maint.8.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 8.1.4-maint.8.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 8.1.4-maint.8.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 8.1.4-maint.8.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 8.1.4-maint.8.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 8.1.4-maint.8.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 8.1.4-maint.8.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 8.1.4-maint.8.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 8.1.4-maint.8.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.286/8.274, allocations: 324.1 MB / 3.623 GB, free: 141.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/8.274, allocations: 12 kB / 3.623 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/8.274, allocations: 27.72 kB / 3.623 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/8.274, allocations: 262.6 kB / 3.624 GB, free: 141.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/8.274, allocations: 8 kB / 3.624 GB, free: 141.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/8.274, allocations: 19.91 kB / 3.624 GB, free: 141.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002192/8.275, allocations: 117.2 kB / 3.624 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/8.275, allocations: 299.6 kB / 3.624 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/8.275, allocations: 7.938 kB / 3.624 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/8.275, allocations: 0 / 3.624 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/8.275, allocations: 8 kB / 3.624 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/8.276, allocations: 1.719 MB / 3.626 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.457e-05/8.276, allocations: 173.1 kB / 3.626 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/8.276, allocations: 80.14 kB / 3.626 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/8.276, allocations: 75.28 kB / 3.626 GB, free: 138.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/8.276, allocations: 109.8 kB / 3.626 GB, free: 138.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/8.276, allocations: 0 / 3.626 GB, free: 138.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 9.571e-05/8.277, allocations: 37.55 kB / 3.626 GB, free: 138.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/8.277, allocations: 63.33 kB / 3.626 GB, free: 138.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/8.277, allocations: 140.6 kB / 3.626 GB, free: 138.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/8.277, allocations: 25.7 kB / 3.626 GB, free: 138.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/8.277, allocations: 183.5 kB / 3.627 GB, free: 138.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-06/8.277, allocations: 0 / 3.627 GB, free: 138.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/8.277, allocations: 0 / 3.627 GB, free: 138.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.385e-05/8.277, allocations: 322.8 kB / 3.627 GB, free: 137.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/8.277, allocations: 336 / 3.627 GB, free: 137.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.047e-05/8.277, allocations: 36.3 kB / 3.627 GB, free: 137.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/8.277, allocations: 12 kB / 3.627 GB, free: 137.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/8.277, allocations: 3.938 kB / 3.627 GB, free: 137.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001516/8.277, allocations: 61.47 kB / 3.627 GB, free: 137.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/8.277, allocations: 8.156 kB / 3.627 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/8.277, allocations: 0 / 3.627 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/8.277, allocations: 7.984 kB / 3.627 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/8.277, allocations: 8 kB / 3.627 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/8.277, allocations: 0 / 3.627 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/8.277, allocations: 7.906 kB / 3.627 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/8.277, allocations: 4 kB / 3.627 GB, free: 137.6 MB / 0.948 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 9.785e-05/8.278, allocations: 180.3 kB / 3.627 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/8.278, allocations: 120.7 kB / 3.627 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/8.278, allocations: 113.5 kB / 3.627 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.07e-05/8.278, allocations: 180.4 kB / 3.628 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.793e-05/8.278, allocations: 184.2 kB / 3.628 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.341e-05/8.278, allocations: 180.3 kB / 3.628 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/8.278, allocations: 449.7 kB / 3.628 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/8.278, allocations: 108.9 kB / 3.628 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/8.278, allocations: 101 kB / 3.629 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-05/8.278, allocations: 180.2 kB / 3.629 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/8.278, allocations: 184.2 kB / 3.629 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.153e-05/8.278, allocations: 184.2 kB / 3.629 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.729e-05/8.278, allocations: 182.1 kB / 3.629 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.583e-05/8.278, allocations: 315.7 kB / 3.63 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003382/8.279, allocations: 0.7109 MB / 3.63 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/8.279, allocations: 194 kB / 3.63 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/8.279, allocations: 176.3 kB / 3.631 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/8.279, allocations: 104.9 kB / 3.631 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/8.279, allocations: 180.3 kB / 3.631 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/8.279, allocations: 101 kB / 3.631 GB, free: 133.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.775e-05/8.279, allocations: 116.9 kB / 3.631 GB, free: 133.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001409/8.28, allocations: 263.6 kB / 3.631 GB, free: 133 MB / 0.948 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.001766/8.282, allocations: 1.501 MB / 3.633 GB, free: 131.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.586e-05/8.282, allocations: 11.94 kB / 3.633 GB, free: 131.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/8.282, allocations: 0 / 3.633 GB, free: 131.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.945e-06/8.282, allocations: 320 / 3.633 GB, free: 131.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/8.283, allocations: 0.5418 MB / 3.633 GB, free: 130.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/8.283, allocations: 291.6 kB / 3.634 GB, free: 130.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/8.284, allocations: 0.7699 MB / 3.634 GB, free: 129.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/8.284, allocations: 0 / 3.634 GB, free: 129.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)