Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 189.2 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5012/0.5012, 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.356/1.356, allocations: 221.4 MB / 342.8 MB, free: 5.434 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.000883/0.0008829, allocations: 98.44 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1776/0.1785, allocations: 78.44 MB / 493.9 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.5984, allocations: 72.31 MB / 0.553 GB, free: 73.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.442/5.041, allocations: 2.12 GB / 2.673 GB, free: 186.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/5.041, allocations: 82.67 kB / 2.673 GB, free: 186.6 MB / 0.6042 GB [/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 (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 (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 (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 (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 (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/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 (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/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 (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 (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.2458/5.287, allocations: 136.9 MB / 2.806 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/5.287, allocations: 12 kB / 2.806 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/5.287, allocations: 15.81 kB / 2.806 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/5.287, allocations: 255.2 kB / 2.807 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/5.287, allocations: 4 kB / 2.807 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/5.287, allocations: 11.91 kB / 2.807 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001042/5.287, allocations: 40 kB / 2.807 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/5.288, allocations: 216.3 kB / 2.807 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/5.288, allocations: 0 / 2.807 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/5.288, allocations: 0 / 2.807 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/5.288, allocations: 8 kB / 2.807 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/5.288, allocations: 1.532 MB / 2.808 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.398e-05/5.288, allocations: 165.1 kB / 2.809 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/5.289, allocations: 84.14 kB / 2.809 GB, free: 45.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/5.289, allocations: 75.28 kB / 2.809 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/5.289, allocations: 113.8 kB / 2.809 GB, free: 45.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.753e-06/5.289, allocations: 0 / 2.809 GB, free: 45.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.265e-05/5.289, allocations: 42.42 kB / 2.809 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/5.289, allocations: 51.41 kB / 2.809 GB, free: 45.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/5.289, allocations: 132.8 kB / 2.809 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/5.289, allocations: 29.7 kB / 2.809 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/5.289, allocations: 147.5 kB / 2.809 GB, free: 45.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-06/5.289, allocations: 3.938 kB / 2.809 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/5.289, allocations: 7.938 kB / 2.809 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.694e-05/5.289, allocations: 322.8 kB / 2.81 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/5.289, allocations: 4 kB / 2.81 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.141e-05/5.289, allocations: 42.02 kB / 2.81 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/5.289, allocations: 16 kB / 2.81 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/5.289, allocations: 0 / 2.81 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001257/5.289, allocations: 73.38 kB / 2.81 GB, free: 44.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/5.289, allocations: 4 kB / 2.81 GB, free: 44.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/5.289, allocations: 7.984 kB / 2.81 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/5.289, allocations: 4.219 kB / 2.81 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.938e-05/5.289, allocations: 19.94 kB / 2.81 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/5.289, allocations: 4 kB / 2.81 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/5.289, allocations: 7.844 kB / 2.81 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/5.289, allocations: 7.984 kB / 2.81 GB, free: 44.69 MB / 0.6042 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 4.884e-05/5.289, allocations: 180.3 kB / 2.81 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/5.289, allocations: 112.8 kB / 2.81 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/5.289, allocations: 125.5 kB / 2.81 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/5.289, allocations: 176.3 kB / 2.81 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-05/5.29, allocations: 184.1 kB / 2.811 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/5.29, allocations: 180.2 kB / 2.811 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/5.29, allocations: 421.8 kB / 2.811 GB, free: 43.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/5.29, allocations: 108.9 kB / 2.811 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-05/5.29, allocations: 105 kB / 2.811 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.479e-05/5.29, allocations: 176.3 kB / 2.811 GB, free: 42.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/5.29, allocations: 180.2 kB / 2.812 GB, free: 42.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.379e-05/5.29, allocations: 180.2 kB / 2.812 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.742e-05/5.29, allocations: 185.6 kB / 2.812 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.738e-05/5.29, allocations: 311.6 kB / 2.812 GB, free: 41.96 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000192/5.29, allocations: 0.6954 MB / 2.813 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/5.29, allocations: 185.9 kB / 2.813 GB, free: 41.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/5.29, allocations: 184.3 kB / 2.813 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.587e-05/5.29, allocations: 109.2 kB / 2.813 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/5.29, allocations: 180.3 kB / 2.814 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/5.29, allocations: 109 kB / 2.814 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.362e-05/5.29, allocations: 112.9 kB / 2.814 GB, free: 40.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001046/5.291, allocations: 123.7 kB / 2.814 GB, free: 40.21 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.0007945/5.292, allocations: 0.7451 MB / 2.815 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.64e-05/5.292, allocations: 19.94 kB / 2.815 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/5.292, allocations: 0 / 2.815 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.195e-06/5.292, allocations: 3.938 kB / 2.815 GB, free: 39.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/5.293, allocations: 0.5268 MB / 2.815 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/5.293, allocations: 214.6 kB / 2.815 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/5.293, allocations: 0.727 MB / 2.816 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/5.293, allocations: 0 / 2.816 GB, free: 37.92 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)