Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.443/1.443, allocations: 285.5 MB / 292.8 MB, free: 9.934 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.000956/0.0009559, allocations: 189.1 kB / 361.1 MB, free: 408 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.17/1.17, allocations: 205.1 MB / 0.6195 GB, free: 2.91 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008388/0.0008389, allocations: 101.1 kB / 0.7326 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4027/0.4036, allocations: 121.4 MB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.5725, allocations: 115.3 MB / 0.9638 GB, free: 56.31 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.915/4.487, allocations: 2.336 GB / 3.299 GB, free: 5.469 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/4.488, allocations: 88.69 kB / 3.299 GB, free: 5.383 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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: 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.6531/5.141, allocations: 142.2 MB / 3.438 GB, free: 248.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/5.141, allocations: 8.5 kB / 3.438 GB, free: 248.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.636e-05/5.141, allocations: 27.62 kB / 3.438 GB, free: 248.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/5.141, allocations: 262.6 kB / 3.439 GB, free: 247.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/5.141, allocations: 4 kB / 3.439 GB, free: 247.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/5.141, allocations: 15.94 kB / 3.439 GB, free: 247.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001856/5.142, allocations: 92.84 kB / 3.439 GB, free: 247.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/5.142, allocations: 295.4 kB / 3.439 GB, free: 247.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/5.142, allocations: 0 / 3.439 GB, free: 247.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/5.142, allocations: 4 kB / 3.439 GB, free: 247.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/5.142, allocations: 8 kB / 3.439 GB, free: 247.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/5.143, allocations: 1.884 MB / 3.441 GB, free: 245.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.663e-05/5.143, allocations: 177.1 kB / 3.441 GB, free: 245.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.803e-05/5.143, allocations: 84.08 kB / 3.441 GB, free: 245.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/5.143, allocations: 79.28 kB / 3.441 GB, free: 245.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/5.143, allocations: 105.8 kB / 3.441 GB, free: 245 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.793e-06/5.143, allocations: 0 / 3.441 GB, free: 245 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 7.681e-05/5.143, allocations: 45.59 kB / 3.441 GB, free: 244.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.759e-05/5.143, allocations: 51.41 kB / 3.441 GB, free: 244.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/5.143, allocations: 147.1 kB / 3.442 GB, free: 244.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-06/5.143, allocations: 25.7 kB / 3.442 GB, free: 244.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/5.143, allocations: 167.4 kB / 3.442 GB, free: 244.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/5.143, allocations: 4 kB / 3.442 GB, free: 244.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/5.143, allocations: 3.938 kB / 3.442 GB, free: 244.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.19e-05/5.143, allocations: 322.8 kB / 3.442 GB, free: 244.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/5.143, allocations: 4 kB / 3.442 GB, free: 244.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.723e-05/5.143, allocations: 50.88 kB / 3.442 GB, free: 244.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/5.143, allocations: 19.98 kB / 3.442 GB, free: 244.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/5.143, allocations: 0 / 3.442 GB, free: 244.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001469/5.144, allocations: 81.56 kB / 3.442 GB, free: 244 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/5.144, allocations: 4 kB / 3.442 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/5.144, allocations: 4 kB / 3.442 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/5.144, allocations: 4 kB / 3.442 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.383e-05/5.144, allocations: 19.83 kB / 3.442 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/5.144, allocations: 4.156 kB / 3.442 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/5.144, allocations: 7.938 kB / 3.442 GB, free: 244 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/5.144, allocations: 7.984 kB / 3.442 GB, free: 244 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 5.464e-05/5.144, allocations: 192.2 kB / 3.442 GB, free: 243.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/5.144, allocations: 112.9 kB / 3.443 GB, free: 243.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/5.144, allocations: 117.2 kB / 3.443 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.108e-05/5.144, allocations: 188.2 kB / 3.443 GB, free: 243.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/5.144, allocations: 176.3 kB / 3.443 GB, free: 243.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/5.144, allocations: 176.3 kB / 3.443 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/5.144, allocations: 449.6 kB / 3.444 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.921e-05/5.144, allocations: 105 kB / 3.444 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/5.144, allocations: 105 kB / 3.444 GB, free: 242.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.413e-05/5.144, allocations: 184.2 kB / 3.444 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/5.144, allocations: 176.3 kB / 3.444 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.197e-05/5.144, allocations: 178 kB / 3.444 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.496e-05/5.145, allocations: 192.1 kB / 3.445 GB, free: 241.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.2e-05/5.145, allocations: 315.6 kB / 3.445 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001818/5.145, allocations: 0.6992 MB / 3.445 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/5.145, allocations: 186 kB / 3.446 GB, free: 240.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/5.145, allocations: 180.2 kB / 3.446 GB, free: 240.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.72e-05/5.145, allocations: 101 kB / 3.446 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/5.145, allocations: 180.3 kB / 3.446 GB, free: 239.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/5.145, allocations: 112.9 kB / 3.446 GB, free: 239.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.538e-05/5.145, allocations: 120.3 kB / 3.446 GB, free: 239.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009698/5.146, allocations: 135.7 kB / 3.446 GB, free: 239.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.0006329/5.147, allocations: 0.7441 MB / 3.447 GB, free: 238.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.748e-05/5.147, allocations: 19.94 kB / 3.447 GB, free: 238.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/5.147, allocations: 0 / 3.447 GB, free: 238.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/5.147, allocations: 0.5 kB / 3.447 GB, free: 238.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/5.147, allocations: 0.5302 MB / 3.448 GB, free: 238.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/5.147, allocations: 271.2 kB / 3.448 GB, free: 237.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/5.148, allocations: 0.7659 MB / 3.449 GB, free: 237.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.31e-07/5.148, allocations: 0 / 3.449 GB, free: 237.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)