Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 186.2 kB / 7.802 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4695/0.4695, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.4 MB / 342.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 97.61 kB / 415.5 MB, free: 6.469 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1954/0.1965, allocations: 78.45 MB / 494 MB, free: 8.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.6516, allocations: 72.31 MB / 0.553 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.332/3.984, allocations: 1.671 GB / 2.224 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/3.984, allocations: 83.95 kB / 2.224 GB, free: 156 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IBPSA.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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.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 0.839/4.823, allocations: 291.7 MB / 2.509 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/4.823, allocations: 12 kB / 2.509 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/4.823, allocations: 23.72 kB / 2.509 GB, free: 103.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/4.824, allocations: 255.1 kB / 2.509 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/4.824, allocations: 4 kB / 2.509 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/4.824, allocations: 12 kB / 2.509 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001284/4.824, allocations: 60.88 kB / 2.509 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/4.824, allocations: 230.3 kB / 2.509 GB, free: 103 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/4.824, allocations: 7.938 kB / 2.509 GB, free: 103 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/4.824, allocations: 4 kB / 2.509 GB, free: 103 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/4.824, allocations: 4 kB / 2.509 GB, free: 103 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006525/4.825, allocations: 1.356 MB / 2.51 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.786e-05/4.825, allocations: 165.1 kB / 2.511 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/4.825, allocations: 80.14 kB / 2.511 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/4.825, allocations: 79.28 kB / 2.511 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/4.825, allocations: 113.8 kB / 2.511 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/4.825, allocations: 0 / 2.511 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.511e-05/4.825, allocations: 37.52 kB / 2.511 GB, free: 101 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.832e-05/4.825, allocations: 55.41 kB / 2.511 GB, free: 101 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.691e-05/4.825, allocations: 129.5 kB / 2.511 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-06/4.825, allocations: 29.64 kB / 2.511 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/4.825, allocations: 155.6 kB / 2.511 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-06/4.825, allocations: 4 kB / 2.511 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/4.825, allocations: 0 / 2.511 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.621e-05/4.825, allocations: 318.8 kB / 2.512 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-06/4.825, allocations: 0 / 2.512 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.472e-05/4.825, allocations: 31.42 kB / 2.512 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.883e-05/4.825, allocations: 11.94 kB / 2.512 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/4.825, allocations: 0 / 2.512 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001057/4.826, allocations: 57.53 kB / 2.512 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/4.826, allocations: 8 kB / 2.512 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/4.826, allocations: 0 / 2.512 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/4.826, allocations: 3.906 kB / 2.512 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/4.826, allocations: 8 kB / 2.512 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/4.826, allocations: 0 / 2.512 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/4.826, allocations: 8 kB / 2.512 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/4.826, allocations: 4.125 kB / 2.512 GB, free: 100.2 MB / 0.6042 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 5.411e-05/4.826, allocations: 176.3 kB / 2.512 GB, free: 100 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/4.826, allocations: 120.7 kB / 2.512 GB, free: 99.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/4.826, allocations: 112.6 kB / 2.512 GB, free: 99.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/4.826, allocations: 180.3 kB / 2.512 GB, free: 99.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-05/4.826, allocations: 180.2 kB / 2.512 GB, free: 99.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.764e-05/4.826, allocations: 184.2 kB / 2.513 GB, free: 99.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/4.826, allocations: 433.7 kB / 2.513 GB, free: 98.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/4.826, allocations: 104.9 kB / 2.513 GB, free: 98.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.626e-05/4.826, allocations: 105 kB / 2.513 GB, free: 98.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.606e-05/4.826, allocations: 180.3 kB / 2.513 GB, free: 98.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/4.826, allocations: 184.2 kB / 2.514 GB, free: 98.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-05/4.826, allocations: 180.2 kB / 2.514 GB, free: 97.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.702e-05/4.826, allocations: 182.1 kB / 2.514 GB, free: 97.78 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.637e-05/4.826, allocations: 315.7 kB / 2.514 GB, free: 97.45 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002551/4.827, allocations: 0.7187 MB / 2.515 GB, free: 96.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/4.827, allocations: 190 kB / 2.515 GB, free: 96.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/4.827, allocations: 176.3 kB / 2.515 GB, free: 96.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.83e-05/4.827, allocations: 104.9 kB / 2.515 GB, free: 96.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/4.827, allocations: 184.3 kB / 2.516 GB, free: 96.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/4.827, allocations: 104.9 kB / 2.516 GB, free: 95.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.558e-05/4.827, allocations: 109 kB / 2.516 GB, free: 95.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001161/4.828, allocations: 251.7 kB / 2.516 GB, free: 95.55 MB / 0.6042 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.001299/4.829, allocations: 1.491 MB / 2.517 GB, free: 94.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.257e-05/4.829, allocations: 19.94 kB / 2.517 GB, free: 94.01 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/4.829, allocations: 0 / 2.517 GB, free: 94.01 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/4.829, allocations: 0 / 2.517 GB, free: 94.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/4.83, allocations: 0.5283 MB / 2.518 GB, free: 93.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/4.83, allocations: 243.1 kB / 2.518 GB, free: 93.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/4.83, allocations: 0.7401 MB / 2.519 GB, free: 92.45 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/4.83, allocations: 0 / 2.519 GB, free: 92.45 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)