Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.313/2.313, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001742/0.001742, allocations: 181.3 kB / 360.3 MB, free: 7.539 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.812/1.812, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001263/0.001263, allocations: 93.81 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2647/0.266, allocations: 121.4 MB / 0.8502 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7092/0.9752, allocations: 115.2 MB / 0.9627 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.716/6.691, allocations: 2.327 GB / 3.29 GB, free: 126.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/6.692, allocations: 87.81 kB / 3.29 GB, free: 126.7 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.0.0/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.9242/7.616, allocations: 137.2 MB / 3.424 GB, free: 287.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/7.616, allocations: 10.88 kB / 3.424 GB, free: 287.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/7.616, allocations: 23.38 kB / 3.424 GB, free: 287.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/7.616, allocations: 245.3 kB / 3.424 GB, free: 287.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/7.616, allocations: 10.98 kB / 3.424 GB, free: 287.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/7.616, allocations: 11.19 kB / 3.424 GB, free: 287.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001454/7.617, allocations: 40.84 kB / 3.424 GB, free: 287.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/7.617, allocations: 208.1 kB / 3.424 GB, free: 287.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/7.617, allocations: 6.594 kB / 3.424 GB, free: 287.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/7.617, allocations: 3.844 kB / 3.424 GB, free: 287.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/7.617, allocations: 7.875 kB / 3.424 GB, free: 287.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009104/7.618, allocations: 1.523 MB / 3.426 GB, free: 286 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.025e-05/7.618, allocations: 171.2 kB / 3.426 GB, free: 285.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/7.618, allocations: 80.14 kB / 3.426 GB, free: 285.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/7.618, allocations: 79.81 kB / 3.426 GB, free: 285.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/7.618, allocations: 105.8 kB / 3.426 GB, free: 285.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 2.415e-06/7.618, allocations: 0 / 3.426 GB, free: 285.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 8.451e-05/7.618, allocations: 46.34 kB / 3.426 GB, free: 285.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/7.618, allocations: 51.41 kB / 3.426 GB, free: 285.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/7.618, allocations: 143.7 kB / 3.426 GB, free: 285.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/7.618, allocations: 26.27 kB / 3.426 GB, free: 285.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/7.619, allocations: 144.4 kB / 3.427 GB, free: 285.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-06/7.619, allocations: 3.562 kB / 3.427 GB, free: 285.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/7.619, allocations: 0 / 3.427 GB, free: 285.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.373e-05/7.619, allocations: 321.2 kB / 3.427 GB, free: 284.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/7.619, allocations: 5 kB / 3.427 GB, free: 284.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.846e-05/7.619, allocations: 52.5 kB / 3.427 GB, free: 284.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/7.619, allocations: 10.81 kB / 3.427 GB, free: 284.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/7.619, allocations: 3.375 kB / 3.427 GB, free: 284.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001679/7.619, allocations: 69.44 kB / 3.427 GB, free: 284.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/7.619, allocations: 3.781 kB / 3.427 GB, free: 284.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/7.619, allocations: 3.969 kB / 3.427 GB, free: 284.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/7.619, allocations: 6.594 kB / 3.427 GB, free: 284.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/7.619, allocations: 14.67 kB / 3.427 GB, free: 284.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/7.619, allocations: 5.156 kB / 3.427 GB, free: 284.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/7.619, allocations: 9.812 kB / 3.427 GB, free: 284.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-06/7.619, allocations: 3.812 kB / 3.427 GB, free: 284.8 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 6.745e-05/7.619, allocations: 183.9 kB / 3.427 GB, free: 284.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/7.619, allocations: 119.3 kB / 3.427 GB, free: 284.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/7.619, allocations: 114 kB / 3.428 GB, free: 284.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/7.62, allocations: 183.1 kB / 3.428 GB, free: 284.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.75e-05/7.62, allocations: 180.1 kB / 3.428 GB, free: 284 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-05/7.62, allocations: 180 kB / 3.428 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/7.62, allocations: 428.5 kB / 3.428 GB, free: 283.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/7.62, allocations: 105 kB / 3.429 GB, free: 283.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/7.62, allocations: 101 kB / 3.429 GB, free: 283.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.753e-05/7.62, allocations: 184.6 kB / 3.429 GB, free: 283.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/7.62, allocations: 189 kB / 3.429 GB, free: 282.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-05/7.62, allocations: 179.5 kB / 3.429 GB, free: 282.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.869e-05/7.62, allocations: 179.2 kB / 3.429 GB, free: 282.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.899e-05/7.62, allocations: 313.3 kB / 3.43 GB, free: 282.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000253/7.621, allocations: 0.6954 MB / 3.43 GB, free: 281.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/7.621, allocations: 191.9 kB / 3.43 GB, free: 281.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/7.621, allocations: 184 kB / 3.431 GB, free: 281.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.626e-05/7.621, allocations: 101 kB / 3.431 GB, free: 281 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/7.621, allocations: 179.7 kB / 3.431 GB, free: 280.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/7.621, allocations: 106.4 kB / 3.431 GB, free: 280.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000107/7.621, allocations: 116.3 kB / 3.431 GB, free: 280.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001399/7.622, allocations: 117.7 kB / 3.431 GB, free: 280.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.0009732/7.623, allocations: 0.7487 MB / 3.432 GB, free: 280.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001143/7.624, allocations: 18.53 kB / 3.432 GB, free: 280.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/7.624, allocations: 0 / 3.432 GB, free: 280.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/7.624, allocations: 0 / 3.432 GB, free: 280.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/7.624, allocations: 0.5268 MB / 3.433 GB, free: 279.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/7.624, allocations: 218.3 kB / 3.433 GB, free: 279.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/7.625, allocations: 0.7231 MB / 3.433 GB, free: 279.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.663e-06/7.625, allocations: 6.5 kB / 3.433 GB, free: 279.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)