Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.598/1.598, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001264/0.001264, allocations: 197.2 kB / 366.3 MB, free: 1.98 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.725/1.725, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.001213/0.001213, allocations: 84.25 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.19e-05/1.2e-05, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8228/0.8228, allocations: 116.3 MB / 0.9726 GB, free: 68.69 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.945/6.768, allocations: 2.337 GB / 3.309 GB, free: 106.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/6.768, allocations: 86.62 kB / 3.309 GB, free: 106.4 MB / 0.948 GB [/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 (2) 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 (2) 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 (2) 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 (2) 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 (2) 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 (2) 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 (2) 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 (2) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd: time 0.7904/7.558, allocations: 141.8 MB / 3.448 GB, free: 305.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.066e-05/7.559, allocations: 12.72 kB / 3.448 GB, free: 305.6 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006093/7.559, allocations: 442.7 kB / 3.448 GB, free: 305.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/7.559, allocations: 8.812 kB / 3.448 GB, free: 305.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/7.559, allocations: 29.75 kB / 3.448 GB, free: 305.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/7.56, allocations: 259.7 kB / 3.448 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/7.56, allocations: 7.719 kB / 3.448 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/7.56, allocations: 11.41 kB / 3.448 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002065/7.56, allocations: 92 kB / 3.449 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/7.56, allocations: 292.4 kB / 3.449 GB, free: 304.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/7.561, allocations: 6.688 kB / 3.449 GB, free: 304.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/7.561, allocations: 3.938 kB / 3.449 GB, free: 304.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/7.561, allocations: 7.906 kB / 3.449 GB, free: 304.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/7.562, allocations: 1.886 MB / 3.451 GB, free: 303.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.839e-05/7.562, allocations: 168.1 kB / 3.451 GB, free: 303 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/7.562, allocations: 83.61 kB / 3.451 GB, free: 303 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/7.562, allocations: 83 kB / 3.451 GB, free: 302.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/7.562, allocations: 105.8 kB / 3.451 GB, free: 302.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.814e-06/7.562, allocations: 3.5 kB / 3.451 GB, free: 302.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 9.865e-05/7.562, allocations: 39.58 kB / 3.451 GB, free: 302.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/7.562, allocations: 51.41 kB / 3.451 GB, free: 302.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/7.562, allocations: 147.8 kB / 3.451 GB, free: 302.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/7.562, allocations: 25.7 kB / 3.451 GB, free: 302.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.66e-05/7.562, allocations: 173.2 kB / 3.452 GB, free: 302.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/7.562, allocations: 0 / 3.452 GB, free: 302.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/7.562, allocations: 0 / 3.452 GB, free: 302.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/7.563, allocations: 322 kB / 3.452 GB, free: 302.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/7.563, allocations: 11.06 kB / 3.452 GB, free: 302.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.092e-05/7.563, allocations: 54.17 kB / 3.452 GB, free: 302.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.172e-05/7.563, allocations: 24.34 kB / 3.452 GB, free: 302.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/7.563, allocations: 0 / 3.452 GB, free: 302.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001929/7.563, allocations: 76.42 kB / 3.452 GB, free: 302 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/7.563, allocations: 3.688 kB / 3.452 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/7.563, allocations: 2.5 kB / 3.452 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/7.563, allocations: 3.406 kB / 3.452 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.617e-05/7.563, allocations: 21.66 kB / 3.452 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/7.563, allocations: 3.312 kB / 3.452 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.238e-05/7.563, allocations: 4.781 kB / 3.452 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/7.563, allocations: 6.75 kB / 3.452 GB, free: 302 MB / 0.948 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 8.2e-05/7.563, allocations: 185.5 kB / 3.452 GB, free: 301.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/7.563, allocations: 112 kB / 3.452 GB, free: 301.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/7.563, allocations: 117.2 kB / 3.452 GB, free: 301.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-05/7.563, allocations: 179.6 kB / 3.453 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.335e-05/7.563, allocations: 183.5 kB / 3.453 GB, free: 301.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.875e-05/7.563, allocations: 176.3 kB / 3.453 GB, free: 301.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/7.564, allocations: 452.8 kB / 3.453 GB, free: 300.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/7.564, allocations: 104.8 kB / 3.453 GB, free: 300.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/7.564, allocations: 104.3 kB / 3.454 GB, free: 300.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-05/7.564, allocations: 184.3 kB / 3.454 GB, free: 300.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/7.564, allocations: 184 kB / 3.454 GB, free: 300.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.62e-05/7.564, allocations: 178.8 kB / 3.454 GB, free: 299.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-05/7.564, allocations: 180.1 kB / 3.454 GB, free: 299.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001008/7.564, allocations: 314.1 kB / 3.455 GB, free: 299.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/7.564, allocations: 192.8 kB / 3.455 GB, free: 299.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/7.564, allocations: 179.9 kB / 3.455 GB, free: 299 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/7.564, allocations: 108 kB / 3.455 GB, free: 298.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/7.564, allocations: 180.1 kB / 3.455 GB, free: 298.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/7.564, allocations: 108.1 kB / 3.455 GB, free: 298.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.411e-05/7.564, allocations: 123.6 kB / 3.455 GB, free: 298.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003765/7.565, allocations: 73.53 kB / 3.455 GB, free: 298.6 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.0009016/7.566, allocations: 0.7438 MB / 3.456 GB, free: 298.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.341e-05/7.566, allocations: 17.06 kB / 3.456 GB, free: 298.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/7.566, allocations: 3.812 kB / 3.456 GB, free: 298.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/7.566, allocations: 0 / 3.456 GB, free: 298.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/7.566, allocations: 0.5342 MB / 3.457 GB, free: 297.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/7.567, allocations: 262.7 kB / 3.457 GB, free: 297.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/7.567, allocations: 0.7666 MB / 3.458 GB, free: 296.9 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/7.567, allocations: 0 / 3.458 GB, free: 296.9 MB / 0.948 GB Notification: Performance of Templates: time 0.008526/7.576, allocations: 4.02 MB / 3.462 GB, free: 296.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)