Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.089/2.089, allocations: 248.6 MB / 255.9 MB, free: 7.137 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001708/0.001708, allocations: 181.2 kB / 315.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.1 MB / 0.5658 GB, free: 448 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 90.77 kB / 0.67 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4727/0.474, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.7379, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.39/7.128, allocations: 2.452 GB / 3.335 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/7.129, allocations: 88.62 kB / 3.336 GB, free: 243.5 MB / 0.8698 GB [/home/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). [/home/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). [/home/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). [/home/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). [/home/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). [/home/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). [/home/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). [/home/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). [/home/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). [/home/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). [/home/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). [/home/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). [/home/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). [/home/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). [/home/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). [/home/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: 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.421/8.55, allocations: 312.8 MB / 3.641 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/8.55, allocations: 11.16 kB / 3.641 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/8.55, allocations: 30.47 kB / 3.641 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005976/8.551, allocations: 273.8 kB / 3.641 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/8.551, allocations: 10.91 kB / 3.641 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/8.551, allocations: 19.25 kB / 3.641 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004501/8.552, allocations: 107.8 kB / 3.641 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007764/8.552, allocations: 308.1 kB / 3.642 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/8.552, allocations: 10.41 kB / 3.642 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/8.553, allocations: 0 / 3.642 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/8.553, allocations: 11.53 kB / 3.642 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/8.554, allocations: 1.713 MB / 3.643 GB, free: 238 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.029e-05/8.555, allocations: 165.1 kB / 3.644 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/8.555, allocations: 84.36 kB / 3.644 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/8.555, allocations: 79.12 kB / 3.644 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/8.555, allocations: 121.2 kB / 3.644 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 3.136e-06/8.555, allocations: 0 / 3.644 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 0.0001252/8.555, allocations: 33.39 kB / 3.644 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/8.555, allocations: 51.41 kB / 3.644 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/8.555, allocations: 144.1 kB / 3.644 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/8.555, allocations: 25.7 kB / 3.644 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/8.555, allocations: 174.7 kB / 3.644 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.885e-06/8.555, allocations: 10.75 kB / 3.644 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-06/8.555, allocations: 0 / 3.644 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001154/8.556, allocations: 318.2 kB / 3.645 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.488e-05/8.556, allocations: 0.8438 kB / 3.645 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-05/8.556, allocations: 35.3 kB / 3.645 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/8.556, allocations: 14.66 kB / 3.645 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/8.556, allocations: 0 / 3.645 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004711/8.556, allocations: 64.23 kB / 3.645 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/8.557, allocations: 7.938 kB / 3.645 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/8.557, allocations: 3.719 kB / 3.645 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/8.557, allocations: 0 / 3.645 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/8.557, allocations: 11.69 kB / 3.645 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/8.557, allocations: 3.328 kB / 3.645 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.797e-05/8.557, allocations: 3.812 kB / 3.645 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/8.557, allocations: 7.469 kB / 3.645 GB, free: 236.9 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 0.0001088/8.557, allocations: 180.2 kB / 3.645 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/8.557, allocations: 112.6 kB / 3.645 GB, free: 236.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/8.557, allocations: 117.5 kB / 3.645 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.533e-05/8.557, allocations: 180 kB / 3.645 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.457e-05/8.557, allocations: 182.6 kB / 3.645 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-05/8.558, allocations: 180.1 kB / 3.646 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/8.558, allocations: 453.2 kB / 3.646 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-05/8.558, allocations: 101 kB / 3.646 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/8.558, allocations: 114.8 kB / 3.646 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.284e-05/8.558, allocations: 176.3 kB / 3.646 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/8.558, allocations: 176.3 kB / 3.647 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-05/8.558, allocations: 184 kB / 3.647 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-05/8.558, allocations: 178.1 kB / 3.647 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.65e-05/8.558, allocations: 323 kB / 3.647 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003348/8.559, allocations: 0.7122 MB / 3.648 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/8.559, allocations: 185.1 kB / 3.648 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/8.559, allocations: 186.7 kB / 3.648 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/8.559, allocations: 111.5 kB / 3.648 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/8.559, allocations: 183.3 kB / 3.649 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/8.559, allocations: 104.8 kB / 3.649 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001082/8.559, allocations: 114.1 kB / 3.649 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001793/8.561, allocations: 260 kB / 3.649 GB, free: 232.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.001915/8.563, allocations: 1.495 MB / 3.65 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001177/8.563, allocations: 15.38 kB / 3.651 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/8.563, allocations: 0 / 3.651 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/8.563, allocations: 0 / 3.651 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/8.563, allocations: 0.5301 MB / 3.651 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007338/8.564, allocations: 289.8 kB / 3.651 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/8.564, allocations: 0.7729 MB / 3.652 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/8.564, allocations: 0 / 3.652 GB, free: 230.9 MB / 0.8698 GB