Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.103/2.103, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.001698/0.001698, allocations: 179.7 kB / 315.1 MB, free: 4.273 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.881/1.881, allocations: 205.1 MB / 0.5658 GB, free: 312 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.001314/0.001313, allocations: 91.06 kB / 0.67 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4613/0.4627, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.6698, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.163/6.833, allocations: 2.455 GB / 3.338 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004621/6.833, allocations: 83.45 kB / 3.338 GB, free: 244.6 MB / 0.8698 GB [/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 (2) 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 (2) 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 (2) 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 (2) 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 (2) 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 (2) 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 (2) 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 (2) 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.4681/7.301, allocations: 142.3 MB / 3.477 GB, free: 112 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/7.302, allocations: 12 kB / 3.477 GB, free: 112 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/7.302, allocations: 23.72 kB / 3.477 GB, free: 112 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/7.302, allocations: 266.4 kB / 3.477 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/7.302, allocations: 8 kB / 3.477 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/7.302, allocations: 12 kB / 3.477 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002558/7.302, allocations: 92.84 kB / 3.477 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/7.303, allocations: 297.1 kB / 3.478 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/7.303, allocations: 0 / 3.478 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/7.303, allocations: 4 kB / 3.478 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/7.303, allocations: 4 kB / 3.478 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/7.304, allocations: 1.884 MB / 3.48 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.077e-05/7.304, allocations: 173.1 kB / 3.48 GB, free: 109 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/7.304, allocations: 88.36 kB / 3.48 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/7.304, allocations: 75.28 kB / 3.48 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/7.304, allocations: 109.8 kB / 3.48 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 2.184e-06/7.304, allocations: 0 / 3.48 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 9.466e-05/7.304, allocations: 41.5 kB / 3.48 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/7.304, allocations: 51.41 kB / 3.48 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/7.305, allocations: 162 kB / 3.48 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/7.305, allocations: 25.7 kB / 3.48 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/7.305, allocations: 171.4 kB / 3.48 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/7.305, allocations: 0 / 3.48 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/7.305, allocations: 0 / 3.48 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.804e-05/7.305, allocations: 326.8 kB / 3.481 GB, free: 108 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.233e-05/7.305, allocations: 8 kB / 3.481 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/7.305, allocations: 62.88 kB / 3.481 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.207e-05/7.305, allocations: 11.98 kB / 3.481 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/7.305, allocations: 4 kB / 3.481 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001953/7.305, allocations: 89.31 kB / 3.481 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/7.305, allocations: 4 kB / 3.481 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/7.305, allocations: 4 kB / 3.481 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/7.305, allocations: 0 / 3.481 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/7.305, allocations: 15.98 kB / 3.481 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/7.305, allocations: 4 kB / 3.481 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.869e-05/7.306, allocations: 7.906 kB / 3.481 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/7.306, allocations: 8.25 kB / 3.481 GB, free: 107.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.677e-05/7.306, allocations: 184.1 kB / 3.481 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/7.306, allocations: 112.8 kB / 3.481 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/7.306, allocations: 117.5 kB / 3.481 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.475e-05/7.306, allocations: 184.2 kB / 3.481 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.553e-05/7.306, allocations: 180.3 kB / 3.482 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.16e-05/7.306, allocations: 180.3 kB / 3.482 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/7.306, allocations: 441.7 kB / 3.482 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/7.306, allocations: 101 kB / 3.482 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/7.306, allocations: 105 kB / 3.482 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.391e-05/7.306, allocations: 184.2 kB / 3.483 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/7.306, allocations: 184.3 kB / 3.483 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.078e-05/7.306, allocations: 181.5 kB / 3.483 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.662e-05/7.306, allocations: 180.2 kB / 3.483 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.616e-05/7.307, allocations: 307.7 kB / 3.483 GB, free: 105 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002455/7.307, allocations: 0.7069 MB / 3.484 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/7.307, allocations: 190 kB / 3.484 GB, free: 104 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/7.307, allocations: 184.1 kB / 3.484 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.964e-05/7.307, allocations: 101.3 kB / 3.485 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/7.307, allocations: 184.3 kB / 3.485 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/7.307, allocations: 112.9 kB / 3.485 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001187/7.307, allocations: 115.3 kB / 3.485 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00193/7.309, allocations: 127.7 kB / 3.485 GB, free: 103.2 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.0009585/7.31, allocations: 0.7381 MB / 3.486 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001394/7.31, allocations: 24.38 kB / 3.486 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/7.31, allocations: 0 / 3.486 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.013e-06/7.31, allocations: 0 / 3.486 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/7.311, allocations: 0.5263 MB / 3.486 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/7.311, allocations: 267.2 kB / 3.487 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/7.312, allocations: 0.764 MB / 3.487 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of SimCode: time 9.41e-07/7.312, allocations: 0 / 3.487 GB, free: 100.8 MB / 0.8698 GB