Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.529/1.529, allocations: 289.8 MB / 297.1 MB, free: 6.746 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 191.9 kB / 366.3 MB, free: 2.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.1 MB / 0.6256 GB, free: 5.848 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009884/0.0009883, allocations: 87.23 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.047e-05/1.048e-05, allocations: 4 kB / 0.859 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.826/0.826, allocations: 116.3 MB / 0.9726 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.94/6.766, allocations: 2.334 GB / 3.307 GB, free: 110.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/6.766, allocations: 85.44 kB / 3.307 GB, free: 110.8 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/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 8.1.4-maint.8.1.x/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.162/7.928, allocations: 323.7 MB / 3.623 GB, free: 162.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.223e-05/7.928, allocations: 8 kB / 3.623 GB, free: 162.7 MB / 0.948 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.0004081/7.929, allocations: 462.4 kB / 3.623 GB, free: 162.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/7.929, allocations: 8.031 kB / 3.623 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/7.929, allocations: 35.62 kB / 3.623 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/7.929, allocations: 270.5 kB / 3.623 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/7.929, allocations: 8 kB / 3.623 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/7.929, allocations: 16 kB / 3.624 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001868/7.929, allocations: 109.2 kB / 3.624 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/7.93, allocations: 303.3 kB / 3.624 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/7.93, allocations: 3.984 kB / 3.624 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/7.93, allocations: 7.938 kB / 3.624 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/7.93, allocations: 12 kB / 3.624 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008708/7.931, allocations: 1.704 MB / 3.626 GB, free: 159.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.003e-05/7.931, allocations: 173.4 kB / 3.626 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/7.931, allocations: 88.08 kB / 3.626 GB, free: 159.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/7.931, allocations: 79.31 kB / 3.626 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/7.931, allocations: 106.2 kB / 3.626 GB, free: 159.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/7.931, allocations: 0 / 3.626 GB, free: 159.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 7.165e-05/7.931, allocations: 37.52 kB / 3.626 GB, free: 159.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.706e-05/7.931, allocations: 59.34 kB / 3.626 GB, free: 159 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/7.931, allocations: 140.6 kB / 3.626 GB, free: 158.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/7.931, allocations: 29.7 kB / 3.626 GB, free: 158.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/7.931, allocations: 175.6 kB / 3.626 GB, free: 158.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-06/7.931, allocations: 4 kB / 3.626 GB, free: 158.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/7.931, allocations: 0 / 3.626 GB, free: 158.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.223e-05/7.931, allocations: 322.7 kB / 3.627 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/7.931, allocations: 4 kB / 3.627 GB, free: 158.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.001e-05/7.931, allocations: 40.23 kB / 3.627 GB, free: 158.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.263e-05/7.931, allocations: 7.938 kB / 3.627 GB, free: 158.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/7.931, allocations: 0 / 3.627 GB, free: 158.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001163/7.931, allocations: 69.56 kB / 3.627 GB, free: 158.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/7.931, allocations: 4 kB / 3.627 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/7.931, allocations: 0 / 3.627 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/7.931, allocations: 4 kB / 3.627 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/7.931, allocations: 11.92 kB / 3.627 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/7.931, allocations: 4 kB / 3.627 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/7.932, allocations: 3.906 kB / 3.627 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/7.932, allocations: 4.125 kB / 3.627 GB, free: 158.1 MB / 0.948 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.042e-05/7.932, allocations: 184.4 kB / 3.627 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/7.932, allocations: 116.9 kB / 3.627 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/7.932, allocations: 117.3 kB / 3.627 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/7.932, allocations: 180.3 kB / 3.627 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.013e-05/7.932, allocations: 176.3 kB / 3.628 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.741e-05/7.932, allocations: 180.2 kB / 3.628 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/7.932, allocations: 453.7 kB / 3.628 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/7.932, allocations: 105 kB / 3.628 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/7.932, allocations: 104.9 kB / 3.628 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.632e-05/7.932, allocations: 180.3 kB / 3.629 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/7.932, allocations: 180.2 kB / 3.629 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.684e-05/7.932, allocations: 180.2 kB / 3.629 GB, free: 155.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-05/7.932, allocations: 186 kB / 3.629 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.947e-05/7.932, allocations: 307.6 kB / 3.629 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/7.932, allocations: 194 kB / 3.63 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/7.932, allocations: 180.3 kB / 3.63 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.208e-05/7.932, allocations: 112.9 kB / 3.63 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/7.932, allocations: 184.1 kB / 3.63 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/7.932, allocations: 109 kB / 3.63 GB, free: 154.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.279e-05/7.932, allocations: 112.9 kB / 3.63 GB, free: 154.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004163/7.933, allocations: 123.7 kB / 3.63 GB, free: 154.4 MB / 0.948 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.001438/7.934, allocations: 1.492 MB / 3.632 GB, free: 152.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.601e-05/7.934, allocations: 15.92 kB / 3.632 GB, free: 152.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/7.934, allocations: 0 / 3.632 GB, free: 152.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/7.934, allocations: 0 / 3.632 GB, free: 152.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/7.935, allocations: 0.5486 MB / 3.632 GB, free: 152.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004431/7.935, allocations: 283.7 kB / 3.633 GB, free: 151.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/7.935, allocations: 0.7699 MB / 3.633 GB, free: 151.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.8e-07/7.935, allocations: 0 / 3.633 GB, free: 151.1 MB / 0.948 GB Notification: Performance of Templates: time 0.01217/7.948, allocations: 8.446 MB / 3.642 GB, free: 142.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)