Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7596/0.7596, allocations: 141.8 MB / 149.1 MB, free: 10.42 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 176.9 kB / 181.9 MB, free: 7.281 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.4 MB / 436 MB, free: 15.41 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009984/0.0009984, allocations: 103.6 kB / 0.507 GB, free: 8.555 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001894/0.001894, allocations: 282.4 kB / 0.5885 GB, free: 5.359 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 8.205e-06/8.245e-06, allocations: 1.531 kB / 0.6759 GB, free: 166.9 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.213, allocations: 82.78 MB / 0.7567 GB, free: 114.6 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.382/5.595, allocations: 2.135 GB / 2.892 GB, free: 249.6 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/5.596, allocations: 93.03 kB / 2.892 GB, free: 249.5 MB / 0.7138 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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: Performance of FrontEnd: time 0.2561/5.852, allocations: 141.5 MB / 3.03 GB, free: 108.2 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 2.153e-05/5.852, allocations: 8 kB / 3.03 GB, free: 108.1 MB / 0.7138 GB 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.0004433/5.852, allocations: 430.5 kB / 3.031 GB, free: 107.7 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/5.852, allocations: 11.97 kB / 3.031 GB, free: 107.7 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.43e-05/5.852, allocations: 35.66 kB / 3.031 GB, free: 107.6 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/5.853, allocations: 259.8 kB / 3.031 GB, free: 107.3 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/5.853, allocations: 8 kB / 3.031 GB, free: 107.3 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/5.853, allocations: 15.91 kB / 3.031 GB, free: 107.3 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000176/5.853, allocations: 88.84 kB / 3.031 GB, free: 107.2 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/5.853, allocations: 300.6 kB / 3.031 GB, free: 106.9 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/5.853, allocations: 3.938 kB / 3.031 GB, free: 106.9 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/5.853, allocations: 0 / 3.031 GB, free: 106.9 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/5.853, allocations: 8 kB / 3.031 GB, free: 106.9 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/5.854, allocations: 1.88 MB / 3.033 GB, free: 104.9 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 5.522e-05/5.854, allocations: 169.1 kB / 3.033 GB, free: 104.7 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/5.854, allocations: 84.14 kB / 3.033 GB, free: 104.6 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/5.854, allocations: 75.28 kB / 3.033 GB, free: 104.6 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/5.854, allocations: 109.8 kB / 3.034 GB, free: 104.4 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=0): time 2.024e-06/5.854, allocations: 0 / 3.034 GB, free: 104.4 MB / 0.7138 GB Notification: Performance of matching and sorting (n=0): time 8.879e-05/5.855, allocations: 45.48 kB / 3.034 GB, free: 104.4 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/5.855, allocations: 55.39 kB / 3.034 GB, free: 104.3 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/5.855, allocations: 137.6 kB / 3.034 GB, free: 104.2 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/5.855, allocations: 29.7 kB / 3.034 GB, free: 104.1 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/5.855, allocations: 175.4 kB / 3.034 GB, free: 104 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/5.855, allocations: 0 / 3.034 GB, free: 104 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/5.855, allocations: 0 / 3.034 GB, free: 104 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 7.095e-05/5.855, allocations: 326.7 kB / 3.034 GB, free: 103.6 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/5.855, allocations: 4 kB / 3.034 GB, free: 103.6 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-05/5.855, allocations: 58.86 kB / 3.034 GB, free: 103.6 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.457e-05/5.855, allocations: 19.92 kB / 3.034 GB, free: 103.5 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/5.855, allocations: 0 / 3.034 GB, free: 103.5 MB / 0.7138 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001626/5.855, allocations: 81.47 kB / 3.034 GB, free: 103.4 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/5.855, allocations: 4 kB / 3.034 GB, free: 103.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/5.855, allocations: 0 / 3.034 GB, free: 103.4 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/5.855, allocations: 4 kB / 3.034 GB, free: 103.4 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/5.855, allocations: 12 kB / 3.034 GB, free: 103.4 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/5.855, allocations: 7.922 kB / 3.034 GB, free: 103.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/5.855, allocations: 11.84 kB / 3.034 GB, free: 103.4 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/5.855, allocations: 4.25 kB / 3.034 GB, free: 103.4 MB / 0.7138 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 7.83e-05/5.855, allocations: 184.3 kB / 3.035 GB, free: 103.2 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/5.856, allocations: 116.7 kB / 3.035 GB, free: 103.1 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/5.856, allocations: 121.4 kB / 3.035 GB, free: 103 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.875e-05/5.856, allocations: 176.3 kB / 3.035 GB, free: 102.8 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.143e-05/5.856, allocations: 176.3 kB / 3.035 GB, free: 102.6 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.514e-05/5.856, allocations: 188.2 kB / 3.035 GB, free: 102.4 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/5.856, allocations: 437.7 kB / 3.036 GB, free: 101.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.389e-05/5.856, allocations: 101 kB / 3.036 GB, free: 101.8 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/5.856, allocations: 104.9 kB / 3.036 GB, free: 101.7 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.789e-05/5.856, allocations: 188.2 kB / 3.036 GB, free: 101.5 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/5.856, allocations: 180.3 kB / 3.036 GB, free: 101.4 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.719e-05/5.856, allocations: 184.2 kB / 3.037 GB, free: 101.2 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-05/5.856, allocations: 181.4 kB / 3.037 GB, free: 101 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001022/5.856, allocations: 311.7 kB / 3.037 GB, free: 100.7 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/5.856, allocations: 197.9 kB / 3.037 GB, free: 100.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/5.857, allocations: 184.3 kB / 3.037 GB, free: 100.2 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/5.857, allocations: 104.9 kB / 3.037 GB, free: 100.1 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/5.857, allocations: 180.2 kB / 3.038 GB, free: 99.96 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/5.857, allocations: 105.3 kB / 3.038 GB, free: 99.85 MB / 0.7138 GB Notification: Performance of sort global known variables: time 7.934e-05/5.857, allocations: 116.3 kB / 3.038 GB, free: 99.73 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.0004162/5.857, allocations: 71.73 kB / 3.038 GB, free: 99.66 MB / 0.7138 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.0008295/5.858, allocations: 0.745 MB / 3.039 GB, free: 98.92 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 8.135e-05/5.858, allocations: 23.88 kB / 3.039 GB, free: 98.89 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/5.858, allocations: 0 / 3.039 GB, free: 98.89 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/5.858, allocations: 0.5 kB / 3.039 GB, free: 98.89 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/5.858, allocations: 0.5289 MB / 3.039 GB, free: 98.36 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/5.859, allocations: 267.2 kB / 3.039 GB, free: 98.07 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/5.859, allocations: 0.7621 MB / 3.04 GB, free: 97.28 MB / 0.7138 GB Notification: Performance of SimCode: time 2.3e-07/5.859, allocations: 0 / 3.04 GB, free: 97.28 MB / 0.7138 GB Notification: Performance of Templates: time 0.007198/5.866, allocations: 4.047 MB / 3.044 GB, free: 93.23 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)