Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.249/2.249, allocations: 253.1 MB / 260.4 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001722/0.001722, allocations: 189.1 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.4 MB / 0.5704 GB, free: 15.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001435/0.001434, allocations: 83.08 kB / 0.6746 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.278e-05/1.292e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2387, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.506/6.745, allocations: 2.452 GB / 3.34 GB, free: 240.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/6.745, allocations: 79.95 kB / 3.34 GB, free: 240.4 MB / 0.8698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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: Performance of FrontEnd: time 1.428/8.173, allocations: 312.4 MB / 3.645 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.927e-05/8.174, allocations: 16.98 kB / 3.645 GB, free: 235.5 MB / 0.8698 GB 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 0.0005375/8.174, allocations: 456.6 kB / 3.646 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/8.174, allocations: 9.438 kB / 3.646 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.225e-05/8.174, allocations: 29.78 kB / 3.646 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/8.175, allocations: 273.7 kB / 3.646 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/8.175, allocations: 7.438 kB / 3.646 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/8.175, allocations: 15.25 kB / 3.646 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003002/8.175, allocations: 107.9 kB / 3.646 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/8.176, allocations: 304.5 kB / 3.646 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/8.176, allocations: 2.812 kB / 3.646 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/8.176, allocations: 2.906 kB / 3.646 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/8.176, allocations: 15.69 kB / 3.646 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/8.177, allocations: 1.719 MB / 3.648 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.77e-05/8.177, allocations: 176.9 kB / 3.648 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/8.177, allocations: 80.14 kB / 3.648 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/8.177, allocations: 75.28 kB / 3.648 GB, free: 233 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/8.177, allocations: 113.2 kB / 3.648 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 2.174e-06/8.177, allocations: 0 / 3.648 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.583e-05/8.177, allocations: 37.98 kB / 3.648 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/8.177, allocations: 51.41 kB / 3.648 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/8.177, allocations: 140.8 kB / 3.649 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/8.177, allocations: 29.39 kB / 3.649 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/8.177, allocations: 173.3 kB / 3.649 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/8.177, allocations: 0 / 3.649 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-06/8.177, allocations: 3.156 kB / 3.649 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/8.178, allocations: 328.9 kB / 3.649 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/8.178, allocations: 0 / 3.649 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/8.178, allocations: 39.17 kB / 3.649 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/8.178, allocations: 9.969 kB / 3.649 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/8.178, allocations: 0 / 3.649 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001527/8.178, allocations: 73.94 kB / 3.649 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/8.178, allocations: 3.375 kB / 3.649 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/8.178, allocations: 0 / 3.649 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/8.178, allocations: 3.188 kB / 3.649 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/8.178, allocations: 6.625 kB / 3.649 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/8.178, allocations: 3.406 kB / 3.649 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/8.178, allocations: 2.672 kB / 3.649 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/8.178, allocations: 7.344 kB / 3.649 GB, free: 232.1 MB / 0.8698 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.725e-05/8.178, allocations: 186.8 kB / 3.649 GB, free: 232 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/8.178, allocations: 111.6 kB / 3.65 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/8.178, allocations: 115.6 kB / 3.65 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/8.178, allocations: 180.2 kB / 3.65 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-05/8.178, allocations: 178 kB / 3.65 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.495e-05/8.178, allocations: 183.3 kB / 3.65 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/8.179, allocations: 455.5 kB / 3.651 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/8.179, allocations: 104.7 kB / 3.651 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/8.179, allocations: 105.8 kB / 3.651 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.081e-05/8.179, allocations: 176.3 kB / 3.651 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/8.179, allocations: 182.2 kB / 3.651 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.094e-05/8.179, allocations: 179.5 kB / 3.651 GB, free: 230 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.324e-05/8.179, allocations: 183.1 kB / 3.652 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.049e-05/8.179, allocations: 321.2 kB / 3.652 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/8.179, allocations: 184.7 kB / 3.652 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/8.179, allocations: 187.5 kB / 3.652 GB, free: 229.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/8.179, allocations: 104.2 kB / 3.652 GB, free: 229 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/8.179, allocations: 176.3 kB / 3.652 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/8.179, allocations: 104.6 kB / 3.653 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.652e-05/8.179, allocations: 121.4 kB / 3.653 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000597/8.18, allocations: 129 kB / 3.653 GB, free: 228.7 MB / 0.8698 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.001889/8.182, allocations: 1.5 MB / 3.654 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001226/8.182, allocations: 22.14 kB / 3.654 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/8.182, allocations: 0 / 3.654 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/8.182, allocations: 0 / 3.654 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/8.182, allocations: 0.5283 MB / 3.655 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/8.183, allocations: 286.4 kB / 3.655 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/8.183, allocations: 0.7732 MB / 3.656 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of SimCode: time 9.32e-07/8.183, allocations: 0 / 3.656 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.02118/8.205, allocations: 8.447 MB / 3.664 GB, free: 226 MB / 0.8698 GB