Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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/BuildingSystems 2.0.0-master/package.mo): time 0.7393/0.7393, allocations: 141.8 MB / 149.1 MB, free: 12.33 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 185.4 kB / 182 MB, free: 9.105 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.3 MB / 436 MB, free: 1.41 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 96.12 kB / 0.507 GB, free: 17.63 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001894/0.001894, allocations: 274.8 kB / 0.5885 GB, free: 3.059 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.441/0.4429, allocations: 89.64 MB / 0.676 GB, free: 136 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.6253, allocations: 82.78 MB / 0.7568 GB, free: 81.7 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.53/5.156, allocations: 2.127 GB / 2.883 GB, free: 141.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/5.156, allocations: 87.94 kB / 2.884 GB, free: 141.7 MB / 0.6982 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conAir$bacPro_internal 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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conAir$inlet$forward 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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$bacPro_internal 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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$forward 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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$backward 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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$sou$outlet$forward 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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$forward 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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$backward is not balanced: The number of potential variables (1) 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.2442/5.4, allocations: 136.9 MB / 3.017 GB, free: 3.223 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/5.4, allocations: 9 kB / 3.017 GB, free: 3.215 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.135e-05/5.4, allocations: 27.7 kB / 3.017 GB, free: 3.188 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/5.401, allocations: 249.8 kB / 3.018 GB, free: 2.902 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/5.401, allocations: 4 kB / 3.018 GB, free: 2.898 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/5.401, allocations: 8 kB / 3.018 GB, free: 2.891 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001307/5.401, allocations: 40 kB / 3.018 GB, free: 2.852 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/5.401, allocations: 216.5 kB / 3.018 GB, free: 2.582 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/5.401, allocations: 4.156 kB / 3.018 GB, free: 2.578 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/5.401, allocations: 7.906 kB / 3.018 GB, free: 2.57 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/5.401, allocations: 7.938 kB / 3.018 GB, free: 2.562 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008924/5.402, allocations: 1.521 MB / 3.019 GB, free: 0.957 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 4.737e-05/5.402, allocations: 173.1 kB / 3.019 GB, free: 0.7773 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/5.402, allocations: 80.14 kB / 3.02 GB, free: 0.6953 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/5.402, allocations: 83.27 kB / 3.02 GB, free: 0.6133 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/5.402, allocations: 109.8 kB / 3.02 GB, free: 0.4961 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=0): time 1.412e-06/5.402, allocations: 0 / 3.02 GB, free: 0.4961 MB / 0.6982 GB Notification: Performance of matching and sorting (n=0): time 8.714e-05/5.403, allocations: 38.39 kB / 3.02 GB, free: 464 kB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/5.403, allocations: 55.41 kB / 3.02 GB, free: 396 kB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/5.403, allocations: 132.1 kB / 3.02 GB, free: 248 kB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/5.403, allocations: 25.7 kB / 3.02 GB, free: 216 kB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/5.403, allocations: 155.2 kB / 3.02 GB, free: 56 kB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/5.403, allocations: 0 / 3.02 GB, free: 56 kB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/5.403, allocations: 0 / 3.02 GB, free: 56 kB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.2477/5.651, allocations: 318.8 kB / 3.02 GB, free: 249.5 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.173e-05/5.651, allocations: 3.938 kB / 3.02 GB, free: 249.5 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/5.651, allocations: 48.64 kB / 3.02 GB, free: 249.4 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.829e-05/5.651, allocations: 13.84 kB / 3.02 GB, free: 249.4 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/5.651, allocations: 0 / 3.02 GB, free: 249.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000172/5.651, allocations: 73.67 kB / 3.021 GB, free: 249.4 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/5.651, allocations: 3.938 kB / 3.021 GB, free: 249.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/5.651, allocations: 5.188 kB / 3.021 GB, free: 249.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/5.651, allocations: 0 / 3.021 GB, free: 249.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/5.651, allocations: 20.38 kB / 3.021 GB, free: 249.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/5.651, allocations: 5.469 kB / 3.021 GB, free: 249.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.617e-05/5.651, allocations: 9.031 kB / 3.021 GB, free: 249.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/5.651, allocations: 3.938 kB / 3.021 GB, free: 249.4 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.517e-05/5.651, allocations: 182.5 kB / 3.021 GB, free: 249.2 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/5.651, allocations: 115.4 kB / 3.021 GB, free: 249.1 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/5.651, allocations: 117.5 kB / 3.021 GB, free: 249 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/5.651, allocations: 178 kB / 3.021 GB, free: 248.8 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.689e-05/5.651, allocations: 184 kB / 3.021 GB, free: 248.6 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.438e-05/5.651, allocations: 181.7 kB / 3.022 GB, free: 248.4 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/5.652, allocations: 422.8 kB / 3.022 GB, free: 248 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.439e-05/5.652, allocations: 109.9 kB / 3.022 GB, free: 247.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/5.652, allocations: 101 kB / 3.022 GB, free: 247.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.205e-05/5.652, allocations: 186.3 kB / 3.022 GB, free: 247.6 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/5.652, allocations: 179.6 kB / 3.022 GB, free: 247.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-05/5.652, allocations: 182.8 kB / 3.023 GB, free: 247.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.003e-05/5.652, allocations: 178.4 kB / 3.023 GB, free: 247.1 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001056/5.652, allocations: 315 kB / 3.023 GB, free: 246.8 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003283/5.652, allocations: 0.6965 MB / 3.024 GB, free: 246.1 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/5.653, allocations: 188.5 kB / 3.024 GB, free: 245.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/5.653, allocations: 184 kB / 3.024 GB, free: 245.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/5.653, allocations: 104.4 kB / 3.024 GB, free: 245.6 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/5.653, allocations: 182.5 kB / 3.024 GB, free: 245.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/5.653, allocations: 103.2 kB / 3.025 GB, free: 245.3 MB / 0.6982 GB Notification: Performance of sort global known variables: time 6.782e-05/5.653, allocations: 117.2 kB / 3.025 GB, free: 245.3 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.00112/5.654, allocations: 117.2 kB / 3.025 GB, free: 245.2 MB / 0.6982 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.0008066/5.655, allocations: 0.7436 MB / 3.025 GB, free: 245 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 8.602e-05/5.655, allocations: 17.78 kB / 3.025 GB, free: 245 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/5.655, allocations: 0 / 3.025 GB, free: 245 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 3.777e-06/5.655, allocations: 3.656 kB / 3.025 GB, free: 245 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/5.655, allocations: 0.5351 MB / 3.026 GB, free: 244.5 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/5.655, allocations: 207.8 kB / 3.026 GB, free: 244.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/5.656, allocations: 0.7258 MB / 3.027 GB, free: 243.7 MB / 0.6982 GB Notification: Performance of SimCode: time 3.81e-07/5.656, allocations: 3.344 kB / 3.027 GB, free: 243.7 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)