Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7125/0.7125, allocations: 127.4 MB / 134.6 MB, free: 4.051 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001435/0.001435, allocations: 185.2 kB / 164.4 MB, free: 6.855 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.1 MB / 399.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 91.56 kB / 476.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3559/0.357, allocations: 82.89 MB / 0.5461 GB, free: 42.58 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.5619, allocations: 76.75 MB / 0.621 GB, free: 13.75 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.241/6.802, allocations: 2.411 GB / 3.032 GB, free: 42.24 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/6.803, allocations: 87.94 kB / 3.032 GB, free: 42.15 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.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.701/7.504, allocations: 143.3 MB / 3.172 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/7.504, allocations: 8 kB / 3.172 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/7.504, allocations: 23.72 kB / 3.172 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/7.504, allocations: 262.5 kB / 3.172 GB, free: 152.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/7.504, allocations: 4 kB / 3.172 GB, free: 152.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/7.504, allocations: 12 kB / 3.172 GB, free: 152.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002024/7.505, allocations: 96.78 kB / 3.172 GB, free: 152.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/7.505, allocations: 293.3 kB / 3.173 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/7.505, allocations: 3.906 kB / 3.173 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/7.505, allocations: 4 kB / 3.173 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/7.505, allocations: 7.984 kB / 3.173 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/7.506, allocations: 1.877 MB / 3.174 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.728e-05/7.506, allocations: 173.1 kB / 3.175 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/7.506, allocations: 84.14 kB / 3.175 GB, free: 149.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/7.506, allocations: 79.28 kB / 3.175 GB, free: 149.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/7.506, allocations: 105.8 kB / 3.175 GB, free: 149.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/7.506, allocations: 0 / 3.175 GB, free: 149.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.546e-05/7.507, allocations: 37.52 kB / 3.175 GB, free: 149.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/7.507, allocations: 55.39 kB / 3.175 GB, free: 149.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/7.507, allocations: 145.6 kB / 3.175 GB, free: 149 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/7.507, allocations: 29.7 kB / 3.175 GB, free: 149 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/7.507, allocations: 175.4 kB / 3.175 GB, free: 148.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-06/7.507, allocations: 0 / 3.175 GB, free: 148.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/7.507, allocations: 0 / 3.175 GB, free: 148.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.465e-05/7.507, allocations: 322.8 kB / 3.176 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/7.507, allocations: 8 kB / 3.176 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.07e-05/7.507, allocations: 65.56 kB / 3.176 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.12e-05/7.507, allocations: 15.98 kB / 3.176 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/7.507, allocations: 0 / 3.176 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001826/7.507, allocations: 81.69 kB / 3.176 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/7.507, allocations: 4 kB / 3.176 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/7.507, allocations: 11.88 kB / 3.176 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/7.507, allocations: 0 / 3.176 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/7.507, allocations: 19.94 kB / 3.176 GB, free: 148.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/7.507, allocations: 7.984 kB / 3.176 GB, free: 148.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/7.507, allocations: 7.906 kB / 3.176 GB, free: 148.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/7.507, allocations: 4 kB / 3.176 GB, free: 148.2 MB / 0.6355 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.363e-05/7.507, allocations: 184.4 kB / 3.176 GB, free: 148 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/7.507, allocations: 112.8 kB / 3.176 GB, free: 147.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/7.508, allocations: 121.4 kB / 3.176 GB, free: 147.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/7.508, allocations: 180.3 kB / 3.176 GB, free: 147.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-05/7.508, allocations: 180.2 kB / 3.177 GB, free: 147.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-05/7.508, allocations: 176.3 kB / 3.177 GB, free: 147.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/7.508, allocations: 445.7 kB / 3.177 GB, free: 146.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/7.508, allocations: 104.9 kB / 3.177 GB, free: 146.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.826e-05/7.508, allocations: 113 kB / 3.177 GB, free: 146.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-05/7.508, allocations: 176.3 kB / 3.178 GB, free: 146.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/7.508, allocations: 180.2 kB / 3.178 GB, free: 146.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.231e-05/7.508, allocations: 180.3 kB / 3.178 GB, free: 146 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.104e-05/7.508, allocations: 184.3 kB / 3.178 GB, free: 145.8 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.467e-05/7.508, allocations: 313 kB / 3.178 GB, free: 145.5 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002208/7.508, allocations: 0.6992 MB / 3.179 GB, free: 144.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/7.508, allocations: 194 kB / 3.179 GB, free: 144.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/7.508, allocations: 176.3 kB / 3.179 GB, free: 144.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/7.509, allocations: 104.9 kB / 3.179 GB, free: 144.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/7.509, allocations: 184.2 kB / 3.18 GB, free: 144.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/7.509, allocations: 105 kB / 3.18 GB, free: 144 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.806e-05/7.509, allocations: 120.3 kB / 3.18 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001129/7.51, allocations: 131.7 kB / 3.18 GB, free: 143.7 MB / 0.6355 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.0008402/7.511, allocations: 0.7526 MB / 3.181 GB, free: 143 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.512e-05/7.511, allocations: 15.94 kB / 3.181 GB, free: 143 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/7.511, allocations: 0 / 3.181 GB, free: 143 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/7.511, allocations: 0 / 3.181 GB, free: 143 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/7.511, allocations: 0.5294 MB / 3.181 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/7.512, allocations: 275.2 kB / 3.182 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/7.512, allocations: 0.7582 MB / 3.182 GB, free: 141.4 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/7.512, allocations: 0 / 3.182 GB, free: 141.4 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)