Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.244/1.244, allocations: 249.4 MB / 256.7 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009758/0.0009758, allocations: 181.2 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.2 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008298/0.0008298, allocations: 82.27 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3352/0.3361, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.502, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.413/4.915, allocations: 2.455 GB / 3.339 GB, free: 300.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/4.915, allocations: 83.95 kB / 3.339 GB, free: 300.4 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.2326/5.148, allocations: 142.3 MB / 3.478 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/5.148, allocations: 8 kB / 3.478 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.909e-05/5.148, allocations: 27.72 kB / 3.478 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/5.149, allocations: 260.7 kB / 3.479 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/5.149, allocations: 8 kB / 3.479 GB, free: 156 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/5.149, allocations: 12 kB / 3.479 GB, free: 156 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002025/5.149, allocations: 96.69 kB / 3.479 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/5.149, allocations: 293.2 kB / 3.479 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/5.149, allocations: 4 kB / 3.479 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/5.149, allocations: 0 / 3.479 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/5.149, allocations: 8 kB / 3.479 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/5.151, allocations: 1.884 MB / 3.481 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.878e-05/5.151, allocations: 169.1 kB / 3.481 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/5.151, allocations: 80.14 kB / 3.481 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/5.151, allocations: 79.28 kB / 3.481 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/5.151, allocations: 109.8 kB / 3.481 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.994e-06/5.151, allocations: 224 / 3.481 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 0.0001127/5.151, allocations: 45.5 kB / 3.481 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/5.151, allocations: 55.34 kB / 3.481 GB, free: 153 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/5.151, allocations: 150.1 kB / 3.482 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/5.151, allocations: 25.7 kB / 3.482 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/5.151, allocations: 171.4 kB / 3.482 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-06/5.151, allocations: 4 kB / 3.482 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/5.151, allocations: 0 / 3.482 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.428e-05/5.151, allocations: 318.8 kB / 3.482 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/5.151, allocations: 11.94 kB / 3.482 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-05/5.151, allocations: 58.89 kB / 3.482 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/5.151, allocations: 15.98 kB / 3.482 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/5.151, allocations: 3.906 kB / 3.482 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001887/5.152, allocations: 77.53 kB / 3.482 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/5.152, allocations: 11.94 kB / 3.482 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/5.152, allocations: 0 / 3.482 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/5.152, allocations: 4 kB / 3.482 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/5.152, allocations: 23.92 kB / 3.482 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/5.152, allocations: 0 / 3.482 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/5.152, allocations: 7.906 kB / 3.482 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/5.152, allocations: 8 kB / 3.482 GB, free: 152.1 MB / 0.8698 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.83e-05/5.152, allocations: 188.3 kB / 3.482 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/5.152, allocations: 116.8 kB / 3.483 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/5.152, allocations: 121.2 kB / 3.483 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/5.152, allocations: 176.3 kB / 3.483 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.93e-05/5.152, allocations: 180.2 kB / 3.483 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.973e-05/5.152, allocations: 176.3 kB / 3.483 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/5.152, allocations: 445.7 kB / 3.484 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/5.152, allocations: 104.9 kB / 3.484 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/5.152, allocations: 105 kB / 3.484 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.854e-05/5.152, allocations: 176.3 kB / 3.484 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/5.152, allocations: 184.1 kB / 3.484 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.943e-05/5.153, allocations: 185.6 kB / 3.484 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.683e-05/5.153, allocations: 180.2 kB / 3.485 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.282e-05/5.153, allocations: 311.7 kB / 3.485 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001888/5.153, allocations: 0.6953 MB / 3.485 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/5.153, allocations: 194 kB / 3.486 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/5.153, allocations: 184.1 kB / 3.486 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/5.153, allocations: 105.2 kB / 3.486 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/5.153, allocations: 180.3 kB / 3.486 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/5.153, allocations: 109 kB / 3.486 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.004e-05/5.153, allocations: 123.2 kB / 3.486 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001075/5.154, allocations: 131.7 kB / 3.486 GB, free: 147.6 MB / 0.8698 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.0006858/5.155, allocations: 0.7343 MB / 3.487 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.394e-05/5.155, allocations: 19.94 kB / 3.487 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/5.155, allocations: 0.5 kB / 3.487 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/5.155, allocations: 4 kB / 3.487 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/5.155, allocations: 0.523 MB / 3.488 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/5.156, allocations: 271.3 kB / 3.488 GB, free: 146 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/5.156, allocations: 0.7678 MB / 3.489 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.11e-07/5.156, allocations: 0 / 3.489 GB, free: 145.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)