Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.319/2.319, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001652/0.001652, allocations: 189.2 kB / 360.3 MB, free: 7.543 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.787/1.787, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001328/0.001326, allocations: 89.5 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3141/0.3154, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6326/0.948, allocations: 115.2 MB / 0.9628 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.566/6.514, allocations: 2.335 GB / 3.298 GB, free: 123.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/6.514, allocations: 87.94 kB / 3.298 GB, free: 123.2 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.9383/7.453, allocations: 142.3 MB / 3.437 GB, free: 286.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/7.453, allocations: 11.69 kB / 3.437 GB, free: 286.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.587e-05/7.453, allocations: 23.53 kB / 3.437 GB, free: 286.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/7.453, allocations: 274.8 kB / 3.438 GB, free: 285.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/7.453, allocations: 11.66 kB / 3.438 GB, free: 285.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/7.453, allocations: 11.19 kB / 3.438 GB, free: 285.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002929/7.454, allocations: 85.53 kB / 3.438 GB, free: 285.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/7.454, allocations: 291 kB / 3.438 GB, free: 285.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/7.454, allocations: 6.5 kB / 3.438 GB, free: 285.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/7.454, allocations: 0 / 3.438 GB, free: 285.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/7.454, allocations: 7.594 kB / 3.438 GB, free: 285.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/7.455, allocations: 1.884 MB / 3.44 GB, free: 284.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.347e-05/7.455, allocations: 168.6 kB / 3.44 GB, free: 283.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/7.455, allocations: 83.23 kB / 3.44 GB, free: 283.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/7.455, allocations: 78.44 kB / 3.44 GB, free: 283.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/7.455, allocations: 110.9 kB / 3.44 GB, free: 283.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/7.456, allocations: 0 / 3.44 GB, free: 283.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 8.839e-05/7.456, allocations: 40.48 kB / 3.44 GB, free: 283.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/7.456, allocations: 51.41 kB / 3.44 GB, free: 283.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/7.456, allocations: 144.5 kB / 3.44 GB, free: 283.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/7.456, allocations: 28.95 kB / 3.44 GB, free: 283.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/7.456, allocations: 170.5 kB / 3.441 GB, free: 283.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-06/7.456, allocations: 3.844 kB / 3.441 GB, free: 283.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/7.456, allocations: 0 / 3.441 GB, free: 283.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/7.456, allocations: 326.4 kB / 3.441 GB, free: 283 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/7.456, allocations: 3.844 kB / 3.441 GB, free: 283 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/7.456, allocations: 53.94 kB / 3.441 GB, free: 282.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.468e-05/7.456, allocations: 20.91 kB / 3.441 GB, free: 282.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/7.456, allocations: 3.938 kB / 3.441 GB, free: 282.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005865/7.457, allocations: 73.98 kB / 3.441 GB, free: 282.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/7.457, allocations: 7.594 kB / 3.441 GB, free: 282.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/7.457, allocations: 3.5 kB / 3.441 GB, free: 282.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4e-05/7.457, allocations: 7.125 kB / 3.441 GB, free: 282.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/7.458, allocations: 15.38 kB / 3.441 GB, free: 282.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/7.458, allocations: 3.75 kB / 3.441 GB, free: 282.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/7.458, allocations: 10.44 kB / 3.441 GB, free: 282.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/7.458, allocations: 3.969 kB / 3.441 GB, free: 282.9 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 9.168e-05/7.458, allocations: 190.3 kB / 3.441 GB, free: 282.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/7.458, allocations: 120.3 kB / 3.441 GB, free: 282.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.744e-05/7.458, allocations: 113.1 kB / 3.441 GB, free: 282.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.181e-05/7.458, allocations: 183.3 kB / 3.442 GB, free: 282.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.296e-05/7.458, allocations: 183.5 kB / 3.442 GB, free: 282.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/7.458, allocations: 180.1 kB / 3.442 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/7.459, allocations: 439.9 kB / 3.442 GB, free: 281.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.206e-05/7.459, allocations: 106.9 kB / 3.443 GB, free: 281.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/7.459, allocations: 109.2 kB / 3.443 GB, free: 281.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.434e-05/7.459, allocations: 179.3 kB / 3.443 GB, free: 281.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/7.459, allocations: 176.3 kB / 3.443 GB, free: 281 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-05/7.459, allocations: 185 kB / 3.443 GB, free: 280.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.39e-05/7.459, allocations: 183.9 kB / 3.443 GB, free: 280.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.313e-05/7.459, allocations: 314.6 kB / 3.444 GB, free: 280.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002479/7.459, allocations: 0.6918 MB / 3.444 GB, free: 279.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/7.459, allocations: 193.3 kB / 3.444 GB, free: 279.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/7.459, allocations: 179 kB / 3.445 GB, free: 279.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/7.46, allocations: 108.8 kB / 3.445 GB, free: 279.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/7.46, allocations: 184.1 kB / 3.445 GB, free: 278.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/7.46, allocations: 104.9 kB / 3.445 GB, free: 278.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001135/7.46, allocations: 115.9 kB / 3.445 GB, free: 278.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001494/7.461, allocations: 136 kB / 3.445 GB, free: 278.7 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.001007/7.462, allocations: 0.7477 MB / 3.446 GB, free: 278.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001631/7.462, allocations: 26 kB / 3.446 GB, free: 278.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/7.463, allocations: 0 / 3.446 GB, free: 278.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-06/7.463, allocations: 3.5 kB / 3.446 GB, free: 278.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/7.463, allocations: 0.5293 MB / 3.447 GB, free: 278 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/7.464, allocations: 266.8 kB / 3.447 GB, free: 277.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/7.464, allocations: 0.7635 MB / 3.448 GB, free: 277.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/7.464, allocations: 0 / 3.448 GB, free: 277.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)