Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.621/1.621, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001702/0.001702, allocations: 189.3 kB / 366.3 MB, free: 1.977 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.715/1.715, allocations: 205.1 MB / 0.6256 GB, free: 7.457 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.0009246/0.0009246, allocations: 94.27 kB / 0.7395 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3236/0.3246, allocations: 122.4 MB / 0.8591 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8282/1.153, allocations: 116.3 MB / 0.9726 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.848/6.001, allocations: 2.063 GB / 3.036 GB, free: 66.31 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/6.001, allocations: 83.94 kB / 3.036 GB, free: 66.23 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$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.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$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.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$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.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$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.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$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.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$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.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$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.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$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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 1.328/7.33, allocations: 311.2 MB / 3.34 GB, free: 132.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/7.33, allocations: 12 kB / 3.34 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/7.33, allocations: 27.66 kB / 3.34 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/7.33, allocations: 255.2 kB / 3.34 GB, free: 132.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/7.33, allocations: 8 kB / 3.34 GB, free: 132.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/7.33, allocations: 12 kB / 3.34 GB, free: 132.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001474/7.33, allocations: 60.88 kB / 3.34 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/7.331, allocations: 222.4 kB / 3.34 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/7.331, allocations: 0 / 3.34 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/7.331, allocations: 4 kB / 3.34 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/7.331, allocations: 4 kB / 3.34 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009267/7.332, allocations: 1.356 MB / 3.341 GB, free: 130.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.671e-05/7.332, allocations: 173.1 kB / 3.342 GB, free: 130.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/7.332, allocations: 88.06 kB / 3.342 GB, free: 130.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/7.332, allocations: 75.28 kB / 3.342 GB, free: 130.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/7.332, allocations: 109.8 kB / 3.342 GB, free: 130.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/7.332, allocations: 0 / 3.342 GB, free: 130.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 8.819e-05/7.332, allocations: 33.61 kB / 3.342 GB, free: 130.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/7.332, allocations: 55.52 kB / 3.342 GB, free: 130.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/7.332, allocations: 131.3 kB / 3.342 GB, free: 130 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/7.332, allocations: 25.7 kB / 3.342 GB, free: 130 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/7.332, allocations: 163.5 kB / 3.342 GB, free: 129.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/7.332, allocations: 0 / 3.342 GB, free: 129.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/7.332, allocations: 0 / 3.342 GB, free: 129.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.667e-05/7.332, allocations: 322.8 kB / 3.343 GB, free: 129.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.969e-06/7.332, allocations: 0 / 3.343 GB, free: 129.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/7.332, allocations: 31.38 kB / 3.343 GB, free: 129.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.433e-05/7.332, allocations: 11.98 kB / 3.343 GB, free: 129.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/7.332, allocations: 0 / 3.343 GB, free: 129.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001517/7.333, allocations: 49.55 kB / 3.343 GB, free: 129.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/7.333, allocations: 8.125 kB / 3.343 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/7.333, allocations: 4 kB / 3.343 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/7.333, allocations: 4 kB / 3.343 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/7.333, allocations: 11.98 kB / 3.343 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/7.333, allocations: 0 / 3.343 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/7.333, allocations: 3.906 kB / 3.343 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-06/7.333, allocations: 4 kB / 3.343 GB, free: 129.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.604e-05/7.333, allocations: 188.1 kB / 3.343 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/7.333, allocations: 108.9 kB / 3.343 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/7.333, allocations: 116.6 kB / 3.343 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-05/7.333, allocations: 180.2 kB / 3.343 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.634e-05/7.333, allocations: 184.2 kB / 3.343 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.24e-05/7.333, allocations: 180.3 kB / 3.344 GB, free: 128.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/7.333, allocations: 433.7 kB / 3.344 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/7.333, allocations: 108.9 kB / 3.344 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/7.333, allocations: 101 kB / 3.344 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.611e-05/7.333, allocations: 188.5 kB / 3.344 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/7.333, allocations: 184.2 kB / 3.345 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.67e-05/7.333, allocations: 176.3 kB / 3.345 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.885e-05/7.333, allocations: 186 kB / 3.345 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.92e-05/7.334, allocations: 311.6 kB / 3.345 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003489/7.334, allocations: 0.711 MB / 3.346 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/7.334, allocations: 194 kB / 3.346 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/7.334, allocations: 184.2 kB / 3.346 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.337e-05/7.334, allocations: 104.9 kB / 3.346 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/7.334, allocations: 180.2 kB / 3.347 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/7.334, allocations: 108.9 kB / 3.347 GB, free: 125.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.911e-05/7.334, allocations: 108.5 kB / 3.347 GB, free: 125 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001338/7.336, allocations: 251.7 kB / 3.347 GB, free: 124.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.001854/7.337, allocations: 1.487 MB / 3.348 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.812e-05/7.338, allocations: 8 kB / 3.348 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/7.338, allocations: 0 / 3.348 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/7.338, allocations: 0 / 3.348 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/7.338, allocations: 0.5304 MB / 3.349 GB, free: 122.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/7.338, allocations: 231.1 kB / 3.349 GB, free: 122.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/7.339, allocations: 0.7395 MB / 3.35 GB, free: 121.6 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/7.339, allocations: 0 / 3.35 GB, free: 121.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)