Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 3.948/3.948, allocations: 433 MB / 440.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2686/4.217, allocations: 104.4 MB / 0.5319 GB, free: 2.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5561/4.773, allocations: 98.7 MB / 0.6283 GB, free: 40 kB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.247/11.02, allocations: 2.447 GB / 3.076 GB, free: 227 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004305/11.02, allocations: 87.81 kB / 3.076 GB, free: 227 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.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.493/12.51, allocations: 312.8 MB / 3.381 GB, free: 232.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/12.51, allocations: 17.86 kB / 3.381 GB, free: 232.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/12.51, allocations: 30.56 kB / 3.381 GB, free: 232.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/12.51, allocations: 271.7 kB / 3.381 GB, free: 231.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/12.51, allocations: 7.875 kB / 3.381 GB, free: 231.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/12.51, allocations: 17.97 kB / 3.381 GB, free: 231.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003216/12.51, allocations: 108.3 kB / 3.382 GB, free: 231.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000531/12.52, allocations: 300.4 kB / 3.382 GB, free: 231.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/12.52, allocations: 7.281 kB / 3.382 GB, free: 231.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/12.52, allocations: 7 kB / 3.382 GB, free: 231.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/12.52, allocations: 7.344 kB / 3.382 GB, free: 231.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/12.52, allocations: 1.713 MB / 3.384 GB, free: 230.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.939e-05/12.52, allocations: 165.1 kB / 3.384 GB, free: 230.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/12.52, allocations: 83.92 kB / 3.384 GB, free: 230 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/12.52, allocations: 82.88 kB / 3.384 GB, free: 229.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/12.52, allocations: 112.7 kB / 3.384 GB, free: 229.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 2.675e-06/12.52, allocations: 0 / 3.384 GB, free: 229.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 9.368e-05/12.52, allocations: 33.08 kB / 3.384 GB, free: 229.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/12.52, allocations: 51.41 kB / 3.384 GB, free: 229.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/12.52, allocations: 147.6 kB / 3.384 GB, free: 229.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/12.52, allocations: 25.7 kB / 3.384 GB, free: 229.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/12.52, allocations: 179.7 kB / 3.384 GB, free: 229.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-06/12.52, allocations: 7.031 kB / 3.384 GB, free: 229.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/12.52, allocations: 0 / 3.384 GB, free: 229.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.64e-05/12.52, allocations: 317.7 kB / 3.385 GB, free: 229.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/12.52, allocations: 7.719 kB / 3.385 GB, free: 229.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/12.52, allocations: 30.42 kB / 3.385 GB, free: 229.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.517e-05/12.52, allocations: 16.94 kB / 3.385 GB, free: 229.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/12.52, allocations: 0 / 3.385 GB, free: 229.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001668/12.52, allocations: 65.2 kB / 3.385 GB, free: 229.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/12.52, allocations: 7.438 kB / 3.385 GB, free: 229.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/12.52, allocations: 0 / 3.385 GB, free: 229.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/12.52, allocations: 2.281 kB / 3.385 GB, free: 229.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/12.52, allocations: 9.031 kB / 3.385 GB, free: 229.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/12.52, allocations: 3.625 kB / 3.385 GB, free: 229.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/12.52, allocations: 7 kB / 3.385 GB, free: 229.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/12.52, allocations: 6.172 kB / 3.385 GB, free: 229.1 MB / 0.823 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.723e-05/12.52, allocations: 184 kB / 3.385 GB, free: 228.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/12.52, allocations: 111.4 kB / 3.385 GB, free: 228.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/12.52, allocations: 114.3 kB / 3.385 GB, free: 228.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-05/12.52, allocations: 179.4 kB / 3.385 GB, free: 228.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.972e-05/12.52, allocations: 182.8 kB / 3.386 GB, free: 228.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/12.52, allocations: 189.3 kB / 3.386 GB, free: 228.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/12.52, allocations: 451.4 kB / 3.386 GB, free: 227.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/12.52, allocations: 107 kB / 3.386 GB, free: 227.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/12.52, allocations: 104 kB / 3.386 GB, free: 227.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.812e-05/12.52, allocations: 182.2 kB / 3.387 GB, free: 227.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/12.52, allocations: 181.3 kB / 3.387 GB, free: 227.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.4e-05/12.52, allocations: 181.5 kB / 3.387 GB, free: 227 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.766e-05/12.52, allocations: 178.9 kB / 3.387 GB, free: 226.8 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.172e-05/12.52, allocations: 319.7 kB / 3.387 GB, free: 226.5 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003448/12.52, allocations: 0.7124 MB / 3.388 GB, free: 225.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/12.52, allocations: 197.2 kB / 3.388 GB, free: 225.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/12.52, allocations: 178.6 kB / 3.388 GB, free: 225.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/12.52, allocations: 104.9 kB / 3.389 GB, free: 225.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/12.52, allocations: 181.8 kB / 3.389 GB, free: 225.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/12.52, allocations: 104.5 kB / 3.389 GB, free: 225 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001004/12.52, allocations: 110.1 kB / 3.389 GB, free: 225 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001875/12.52, allocations: 264.5 kB / 3.389 GB, free: 224.9 MB / 0.823 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.002205/12.52, allocations: 1.497 MB / 3.391 GB, free: 224.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001641/12.52, allocations: 14.06 kB / 3.391 GB, free: 224.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/12.52, allocations: 3.875 kB / 3.391 GB, free: 224.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/12.52, allocations: 0 / 3.391 GB, free: 224.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/12.53, allocations: 0.5235 MB / 3.391 GB, free: 224 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007399/12.53, allocations: 286.5 kB / 3.391 GB, free: 223.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/12.53, allocations: 0.776 MB / 3.392 GB, free: 223.1 MB / 0.823 GB Notification: Performance of SimCode: time 1.352e-06/12.53, allocations: 0 / 3.392 GB, free: 223.1 MB / 0.823 GB