Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.634/1.634, allocations: 289.8 MB / 297 MB, free: 6.621 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.001707/0.001707, allocations: 173.3 kB / 366.3 MB, free: 1.945 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.746/1.746, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.001091/0.001092, allocations: 94.11 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3252/0.3263, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8975/1.224, allocations: 116.3 MB / 0.9726 GB, free: 68.17 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.935/7.159, allocations: 2.328 GB / 3.301 GB, free: 81.71 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/7.159, allocations: 92.31 kB / 3.301 GB, free: 81.66 MB / 0.948 GB [/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 (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 (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 (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 (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 (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/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 (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/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 (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 (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.9228/8.082, allocations: 137.2 MB / 3.435 GB, free: 309.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/8.082, allocations: 8.344 kB / 3.435 GB, free: 309.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.133e-05/8.082, allocations: 18.58 kB / 3.435 GB, free: 309.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/8.083, allocations: 247.8 kB / 3.435 GB, free: 308.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/8.083, allocations: 6.875 kB / 3.435 GB, free: 308.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/8.083, allocations: 6.844 kB / 3.435 GB, free: 308.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001321/8.083, allocations: 51.62 kB / 3.435 GB, free: 308.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/8.083, allocations: 211.7 kB / 3.435 GB, free: 308.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/8.083, allocations: 4.406 kB / 3.435 GB, free: 308.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/8.083, allocations: 8 kB / 3.435 GB, free: 308.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/8.083, allocations: 3.781 kB / 3.435 GB, free: 308.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/8.084, allocations: 1.522 MB / 3.437 GB, free: 307.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.064e-05/8.084, allocations: 172.6 kB / 3.437 GB, free: 307.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/8.084, allocations: 83.39 kB / 3.437 GB, free: 307 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/8.084, allocations: 75.28 kB / 3.437 GB, free: 306.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/8.084, allocations: 110.2 kB / 3.437 GB, free: 306.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/8.084, allocations: 1.422 kB / 3.437 GB, free: 306.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 9.476e-05/8.085, allocations: 39.58 kB / 3.437 GB, free: 306.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/8.085, allocations: 51.41 kB / 3.437 GB, free: 306.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/8.085, allocations: 139.4 kB / 3.437 GB, free: 306.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/8.085, allocations: 25.7 kB / 3.437 GB, free: 306.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/8.085, allocations: 148.1 kB / 3.438 GB, free: 306.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-06/8.085, allocations: 7.844 kB / 3.438 GB, free: 306.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/8.085, allocations: 0 / 3.438 GB, free: 306.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.725e-05/8.085, allocations: 322.5 kB / 3.438 GB, free: 306.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/8.085, allocations: 3.562 kB / 3.438 GB, free: 306.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.243e-05/8.085, allocations: 45.7 kB / 3.438 GB, free: 306.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/8.085, allocations: 12.7 kB / 3.438 GB, free: 306.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/8.085, allocations: 3 kB / 3.438 GB, free: 306.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001667/8.085, allocations: 76.8 kB / 3.438 GB, free: 306.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/8.085, allocations: 3.375 kB / 3.438 GB, free: 306.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/8.085, allocations: 2.766 kB / 3.438 GB, free: 306.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/8.085, allocations: 7.469 kB / 3.438 GB, free: 306.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/8.085, allocations: 9.625 kB / 3.438 GB, free: 306.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/8.085, allocations: 3.828 kB / 3.438 GB, free: 306.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/8.085, allocations: 9.734 kB / 3.438 GB, free: 306.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/8.085, allocations: 3.125 kB / 3.438 GB, free: 306.1 MB / 0.948 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.304e-05/8.086, allocations: 187.8 kB / 3.438 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/8.086, allocations: 112.2 kB / 3.438 GB, free: 305.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/8.086, allocations: 111.1 kB / 3.439 GB, free: 305.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-05/8.086, allocations: 182.6 kB / 3.439 GB, free: 305.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-05/8.086, allocations: 185.3 kB / 3.439 GB, free: 305.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.964e-05/8.086, allocations: 185.6 kB / 3.439 GB, free: 305.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/8.086, allocations: 423.2 kB / 3.439 GB, free: 304.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.607e-05/8.086, allocations: 112.3 kB / 3.44 GB, free: 304.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/8.086, allocations: 101.5 kB / 3.44 GB, free: 304.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.265e-05/8.086, allocations: 181.1 kB / 3.44 GB, free: 304.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/8.086, allocations: 180.4 kB / 3.44 GB, free: 304.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-05/8.086, allocations: 180.6 kB / 3.44 GB, free: 303.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.074e-05/8.086, allocations: 182 kB / 3.44 GB, free: 303.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.872e-05/8.086, allocations: 319.8 kB / 3.441 GB, free: 303.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002285/8.087, allocations: 0.6949 MB / 3.441 GB, free: 302.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/8.087, allocations: 191.8 kB / 3.442 GB, free: 302.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/8.087, allocations: 183.3 kB / 3.442 GB, free: 302.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/8.087, allocations: 105.8 kB / 3.442 GB, free: 302.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/8.087, allocations: 176.8 kB / 3.442 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/8.087, allocations: 106 kB / 3.442 GB, free: 301.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.987e-05/8.087, allocations: 115.7 kB / 3.442 GB, free: 301.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001078/8.088, allocations: 121.6 kB / 3.442 GB, free: 301.8 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.001118/8.089, allocations: 0.7574 MB / 3.443 GB, free: 301.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.816e-05/8.089, allocations: 16.52 kB / 3.443 GB, free: 301.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/8.089, allocations: 0 / 3.443 GB, free: 301.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/8.089, allocations: 0 / 3.443 GB, free: 301.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/8.09, allocations: 0.5372 MB / 3.444 GB, free: 301 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/8.09, allocations: 207.1 kB / 3.444 GB, free: 300.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/8.09, allocations: 0.7306 MB / 3.444 GB, free: 300.1 MB / 0.948 GB Notification: Performance of SimCode: time 3.51e-07/8.09, allocations: 0 / 3.444 GB, free: 300.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)