Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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.634/1.634, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001397/0.001397, 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.881/1.881, allocations: 205.1 MB / 0.6256 GB, free: 7.531 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.001047/0.001046, allocations: 96.83 kB / 0.7396 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3716/0.3727, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8796/1.252, allocations: 116.3 MB / 0.9726 GB, free: 76.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.564/6.816, allocations: 2.323 GB / 3.296 GB, free: 167 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/6.816, allocations: 87.94 kB / 3.296 GB, free: 166.9 MB / 0.948 GB [/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$conAirNoC$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/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$conAirNoC$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$conAirWithC$bacPro_internal is not balanced: The number of potential variables (3) 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$conAirWithC$outlet$forward is not balanced: The number of potential variables (3) 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$conDryAirNoC$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/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$conDryAirNoC$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/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$conDryAirWithC$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$conDryAirWithC$outlet$forward 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.9893/7.806, allocations: 221.5 MB / 3.512 GB, free: 285 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.431e-05/7.806, allocations: 8.844 kB / 3.512 GB, free: 285 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/7.806, allocations: 54.58 kB / 3.512 GB, free: 285 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/7.807, allocations: 259.3 kB / 3.512 GB, free: 284.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/7.807, allocations: 121 kB / 3.512 GB, free: 284.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/7.807, allocations: 14.78 kB / 3.512 GB, free: 284.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003171/7.807, allocations: 130.2 kB / 3.513 GB, free: 284.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/7.808, allocations: 254 kB / 3.513 GB, free: 284.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/7.808, allocations: 3.812 kB / 3.513 GB, free: 284.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/7.808, allocations: 0 / 3.513 GB, free: 284.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/7.808, allocations: 7.594 kB / 3.513 GB, free: 284.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/7.81, allocations: 1.522 MB / 3.514 GB, free: 283.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/7.81, allocations: 171.7 kB / 3.515 GB, free: 282.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.337e-05/7.81, allocations: 80.14 kB / 3.515 GB, free: 282.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/7.81, allocations: 85.94 kB / 3.515 GB, free: 282.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/7.81, allocations: 106.9 kB / 3.515 GB, free: 282.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 2.204e-06/7.81, allocations: 2.625 kB / 3.515 GB, free: 282.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 0.0001403/7.81, allocations: 39.64 kB / 3.515 GB, free: 282.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/7.81, allocations: 51.97 kB / 3.515 GB, free: 282.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/7.81, allocations: 210.1 kB / 3.515 GB, free: 282.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/7.81, allocations: 25.7 kB / 3.515 GB, free: 282.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/7.811, allocations: 192.6 kB / 3.515 GB, free: 282.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/7.811, allocations: 5.438 kB / 3.515 GB, free: 282.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/7.811, allocations: 0 / 3.515 GB, free: 282.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001246/7.811, allocations: 328.4 kB / 3.516 GB, free: 281.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/7.811, allocations: 33.73 kB / 3.516 GB, free: 281.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/7.811, allocations: 157.6 kB / 3.516 GB, free: 281.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/7.811, allocations: 65.14 kB / 3.516 GB, free: 281.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/7.811, allocations: 1.25 kB / 3.516 GB, free: 281.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004458/7.812, allocations: 187.8 kB / 3.516 GB, free: 281.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/7.812, allocations: 5.719 kB / 3.516 GB, free: 281.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/7.812, allocations: 4.844 kB / 3.516 GB, free: 281.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/7.812, allocations: 7.281 kB / 3.516 GB, free: 281.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/7.812, allocations: 43.62 kB / 3.516 GB, free: 281.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/7.812, allocations: 8.188 kB / 3.516 GB, free: 281.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/7.812, allocations: 21.39 kB / 3.516 GB, free: 281.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/7.812, allocations: 9.875 kB / 3.516 GB, free: 281.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.736e-05/7.812, allocations: 195.6 kB / 3.516 GB, free: 281.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.211e-05/7.813, allocations: 116.4 kB / 3.516 GB, free: 281.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/7.813, allocations: 116.6 kB / 3.517 GB, free: 281.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-05/7.813, allocations: 179.4 kB / 3.517 GB, free: 281 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.377e-05/7.813, allocations: 187.8 kB / 3.517 GB, free: 280.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.053e-05/7.813, allocations: 177.2 kB / 3.517 GB, free: 280.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/7.813, allocations: 450.8 kB / 3.517 GB, free: 280.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-05/7.813, allocations: 105.4 kB / 3.518 GB, free: 280.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-05/7.813, allocations: 107.9 kB / 3.518 GB, free: 280 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.331e-05/7.813, allocations: 177.2 kB / 3.518 GB, free: 279.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/7.813, allocations: 182.9 kB / 3.518 GB, free: 279.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.166e-05/7.813, allocations: 177.2 kB / 3.518 GB, free: 279.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-05/7.813, allocations: 186 kB / 3.518 GB, free: 279.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001257/7.814, allocations: 316 kB / 3.519 GB, free: 279 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003533/7.814, allocations: 0.7076 MB / 3.519 GB, free: 278.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.962e-05/7.814, allocations: 191.7 kB / 3.52 GB, free: 278.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/7.814, allocations: 190.6 kB / 3.52 GB, free: 277.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/7.814, allocations: 109.4 kB / 3.52 GB, free: 277.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/7.814, allocations: 181.3 kB / 3.52 GB, free: 277.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/7.814, allocations: 101 kB / 3.52 GB, free: 277.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001456/7.814, allocations: 154.3 kB / 3.52 GB, free: 277.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001331/7.816, allocations: 214.7 kB / 3.52 GB, free: 277.2 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.001949/7.818, allocations: 1.155 MB / 3.522 GB, free: 276.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002159/7.818, allocations: 73.52 kB / 3.522 GB, free: 276.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/7.818, allocations: 0 / 3.522 GB, free: 276.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/7.818, allocations: 0 / 3.522 GB, free: 276.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/7.818, allocations: 0.536 MB / 3.522 GB, free: 276.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/7.819, allocations: 261.7 kB / 3.522 GB, free: 276.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/7.819, allocations: 0.765 MB / 3.523 GB, free: 275.5 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/7.819, allocations: 0 / 3.523 GB, free: 275.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)