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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001612/0.001612, allocations: 173.3 kB / 366.3 MB, free: 2.008 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.674/1.674, allocations: 205.1 MB / 0.6256 GB, free: 7.551 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.001026/0.001025, allocations: 89.97 kB / 0.7396 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3263/0.3274, allocations: 122.4 MB / 0.8591 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8149/1.142, allocations: 116.3 MB / 0.9726 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.836/6.979, allocations: 2.337 GB / 3.309 GB, free: 205 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/6.979, allocations: 85.03 kB / 3.309 GB, free: 204.9 MB / 0.9636 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: 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.2706/7.249, allocations: 142.3 MB / 3.448 GB, free: 61.29 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/7.25, allocations: 8 kB / 3.448 GB, free: 61.28 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/7.25, allocations: 31.62 kB / 3.448 GB, free: 61.25 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/7.25, allocations: 263.6 kB / 3.449 GB, free: 60.95 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/7.25, allocations: 4.219 kB / 3.449 GB, free: 60.95 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/7.25, allocations: 12 kB / 3.449 GB, free: 60.94 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000182/7.25, allocations: 96.73 kB / 3.449 GB, free: 60.84 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/7.251, allocations: 293.2 kB / 3.449 GB, free: 60.49 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/7.251, allocations: 4 kB / 3.449 GB, free: 60.49 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/7.251, allocations: 4 kB / 3.449 GB, free: 60.48 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/7.251, allocations: 8 kB / 3.449 GB, free: 60.48 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/7.252, allocations: 1.888 MB / 3.451 GB, free: 58.49 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.944e-05/7.252, allocations: 173.1 kB / 3.451 GB, free: 58.31 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/7.252, allocations: 80.14 kB / 3.451 GB, free: 58.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/7.252, allocations: 75.28 kB / 3.451 GB, free: 58.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/7.252, allocations: 117.8 kB / 3.451 GB, free: 58.03 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/7.252, allocations: 0 / 3.451 GB, free: 58.03 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 8.21e-05/7.252, allocations: 37.61 kB / 3.451 GB, free: 57.99 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/7.252, allocations: 51.41 kB / 3.451 GB, free: 57.93 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/7.252, allocations: 150 kB / 3.451 GB, free: 57.77 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/7.252, allocations: 25.7 kB / 3.451 GB, free: 57.74 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/7.252, allocations: 167.4 kB / 3.452 GB, free: 57.57 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-06/7.252, allocations: 3.984 kB / 3.452 GB, free: 57.57 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/7.252, allocations: 0 / 3.452 GB, free: 57.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 5.356e-05/7.252, allocations: 322.8 kB / 3.452 GB, free: 57.24 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/7.252, allocations: 8 kB / 3.452 GB, free: 57.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.992e-05/7.252, allocations: 62.83 kB / 3.452 GB, free: 57.15 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.993e-05/7.252, allocations: 12 kB / 3.452 GB, free: 57.14 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/7.252, allocations: 0 / 3.452 GB, free: 57.14 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001433/7.252, allocations: 77.45 kB / 3.452 GB, free: 57.05 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/7.252, allocations: 4.25 kB / 3.452 GB, free: 57.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/7.252, allocations: 11.91 kB / 3.452 GB, free: 57.04 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/7.253, allocations: 4 kB / 3.452 GB, free: 57.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-05/7.253, allocations: 11.94 kB / 3.452 GB, free: 57.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/7.253, allocations: 4 kB / 3.452 GB, free: 57.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/7.253, allocations: 4 kB / 3.452 GB, free: 57.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/7.253, allocations: 8 kB / 3.452 GB, free: 57.01 MB / 0.9636 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.292e-05/7.253, allocations: 184.1 kB / 3.452 GB, free: 56.82 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/7.253, allocations: 120.8 kB / 3.452 GB, free: 56.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.838e-05/7.253, allocations: 117.5 kB / 3.453 GB, free: 56.57 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.94e-05/7.253, allocations: 176.3 kB / 3.453 GB, free: 56.39 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-05/7.253, allocations: 188.1 kB / 3.453 GB, free: 56.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.962e-05/7.253, allocations: 184.1 kB / 3.453 GB, free: 56.02 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/7.253, allocations: 437.7 kB / 3.453 GB, free: 55.54 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/7.253, allocations: 112.9 kB / 3.454 GB, free: 55.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/7.253, allocations: 101 kB / 3.454 GB, free: 55.32 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.198e-05/7.253, allocations: 176.3 kB / 3.454 GB, free: 55.14 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/7.253, allocations: 184.2 kB / 3.454 GB, free: 54.95 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-05/7.253, allocations: 177.6 kB / 3.454 GB, free: 54.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-05/7.253, allocations: 184.3 kB / 3.454 GB, free: 54.59 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.035e-05/7.253, allocations: 315.6 kB / 3.455 GB, free: 54.25 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002211/7.254, allocations: 0.6953 MB / 3.455 GB, free: 53.53 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/7.254, allocations: 194 kB / 3.456 GB, free: 53.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/7.254, allocations: 180.2 kB / 3.456 GB, free: 53.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/7.254, allocations: 105.2 kB / 3.456 GB, free: 53.02 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/7.254, allocations: 180.3 kB / 3.456 GB, free: 52.84 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/7.254, allocations: 105 kB / 3.456 GB, free: 52.73 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.59e-05/7.254, allocations: 120.3 kB / 3.456 GB, free: 52.61 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001057/7.255, allocations: 131.7 kB / 3.456 GB, free: 52.48 MB / 0.9636 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.0007408/7.256, allocations: 0.7521 MB / 3.457 GB, free: 51.72 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.949e-05/7.256, allocations: 23.86 kB / 3.457 GB, free: 51.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/7.256, allocations: 0 / 3.457 GB, free: 51.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/7.256, allocations: 0 / 3.457 GB, free: 51.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/7.256, allocations: 0.5276 MB / 3.458 GB, free: 51.17 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/7.257, allocations: 267.3 kB / 3.458 GB, free: 50.88 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/7.257, allocations: 0.766 MB / 3.459 GB, free: 50.08 MB / 0.9636 GB Notification: Performance of SimCode: time 2.5e-07/7.257, allocations: 0 / 3.459 GB, free: 50.08 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)