Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.001205/0.001205, allocations: 185.8 kB / 7.805 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4609/0.4609, allocations: 90.84 MB / 99.07 MB, free: 14.93 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.397/1.397, allocations: 221.4 MB / 342.8 MB, free: 5.262 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.001088/0.001088, allocations: 86.34 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1973/0.1984, allocations: 78.46 MB / 494 MB, free: 7.969 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.6294, allocations: 72.3 MB / 0.553 GB, free: 73.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.442/5.071, allocations: 2.126 GB / 2.679 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/5.072, allocations: 83.95 kB / 2.679 GB, free: 166.4 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 (3) 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 (3) 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 (3) 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 (3) 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 (3) 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 (3) 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 (3) 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 (3) 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.8938/5.965, allocations: 329.2 MB / 3 GB, free: 75.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/5.965, allocations: 12 kB / 3 GB, free: 75.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/5.966, allocations: 27.62 kB / 3 GB, free: 75.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/5.966, allocations: 279.8 kB / 3 GB, free: 75.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/5.966, allocations: 8 kB / 3 GB, free: 75.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/5.966, allocations: 19.98 kB / 3.001 GB, free: 75.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002192/5.966, allocations: 105.3 kB / 3.001 GB, free: 75.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/5.967, allocations: 303.3 kB / 3.001 GB, free: 74.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/5.967, allocations: 7.938 kB / 3.001 GB, free: 74.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/5.967, allocations: 4 kB / 3.001 GB, free: 74.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/5.967, allocations: 11.91 kB / 3.001 GB, free: 74.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/5.968, allocations: 1.707 MB / 3.003 GB, free: 73.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.424e-05/5.968, allocations: 173.1 kB / 3.003 GB, free: 72.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/5.968, allocations: 80.14 kB / 3.003 GB, free: 72.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/5.968, allocations: 79.27 kB / 3.003 GB, free: 72.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/5.968, allocations: 105.8 kB / 3.003 GB, free: 72.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/5.968, allocations: 7.938 kB / 3.003 GB, free: 72.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.947e-05/5.968, allocations: 33.61 kB / 3.003 GB, free: 72.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/5.968, allocations: 51.41 kB / 3.003 GB, free: 72.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/5.968, allocations: 144.8 kB / 3.003 GB, free: 72.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/5.968, allocations: 25.7 kB / 3.003 GB, free: 72.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/5.968, allocations: 183.5 kB / 3.003 GB, free: 72.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/5.968, allocations: 0 / 3.003 GB, free: 72.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/5.968, allocations: 336 / 3.003 GB, free: 72.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.441e-05/5.968, allocations: 314.8 kB / 3.004 GB, free: 71.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/5.968, allocations: 8 kB / 3.004 GB, free: 71.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/5.968, allocations: 40.22 kB / 3.004 GB, free: 71.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.601e-05/5.968, allocations: 15.94 kB / 3.004 GB, free: 71.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/5.968, allocations: 0 / 3.004 GB, free: 71.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001326/5.969, allocations: 65.44 kB / 3.004 GB, free: 71.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/5.969, allocations: 4 kB / 3.004 GB, free: 71.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/5.969, allocations: 0 / 3.004 GB, free: 71.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/5.969, allocations: 4 kB / 3.004 GB, free: 71.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/5.969, allocations: 12.12 kB / 3.004 GB, free: 71.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/5.969, allocations: 0 / 3.004 GB, free: 71.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/5.969, allocations: 7.984 kB / 3.004 GB, free: 71.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/5.969, allocations: 3.984 kB / 3.004 GB, free: 71.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.533e-05/5.969, allocations: 200.2 kB / 3.004 GB, free: 71.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/5.969, allocations: 109.4 kB / 3.004 GB, free: 71.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/5.969, allocations: 109.5 kB / 3.004 GB, free: 71.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.398e-05/5.969, allocations: 184.2 kB / 3.004 GB, free: 71.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.272e-05/5.969, allocations: 184.3 kB / 3.005 GB, free: 70.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.516e-05/5.969, allocations: 180.3 kB / 3.005 GB, free: 70.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/5.969, allocations: 457.6 kB / 3.005 GB, free: 70.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/5.969, allocations: 105 kB / 3.005 GB, free: 70.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/5.969, allocations: 101 kB / 3.005 GB, free: 70.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.537e-05/5.969, allocations: 180.2 kB / 3.006 GB, free: 69.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/5.969, allocations: 176.3 kB / 3.006 GB, free: 69.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.752e-05/5.969, allocations: 186.1 kB / 3.006 GB, free: 69.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-05/5.969, allocations: 184.2 kB / 3.006 GB, free: 69.3 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.659e-05/5.969, allocations: 315.6 kB / 3.006 GB, free: 68.96 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002758/5.97, allocations: 0.7149 MB / 3.007 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/5.97, allocations: 186 kB / 3.007 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/5.97, allocations: 184.1 kB / 3.007 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/5.97, allocations: 105 kB / 3.008 GB, free: 67.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/5.97, allocations: 176.3 kB / 3.008 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/5.97, allocations: 112.9 kB / 3.008 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.317e-05/5.97, allocations: 116.9 kB / 3.008 GB, free: 67.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001303/5.971, allocations: 255.7 kB / 3.008 GB, free: 67.06 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.001599/5.973, allocations: 1.501 MB / 3.01 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.407e-05/5.973, allocations: 15.94 kB / 3.01 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/5.973, allocations: 3.938 kB / 3.01 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/5.973, allocations: 4 kB / 3.01 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/5.973, allocations: 0.5205 MB / 3.01 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/5.974, allocations: 288 kB / 3.01 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/5.974, allocations: 0.7699 MB / 3.011 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/5.974, allocations: 0 / 3.011 GB, free: 63.86 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)