Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001115/0.001115, allocations: 190.9 kB / 7.804 MB, free: 2.461 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4575/0.4575, 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.354/1.354, allocations: 221.4 MB / 342.7 MB, free: 5.203 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.001131/0.00113, allocations: 90.67 kB / 415.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2046/0.2057, allocations: 78.47 MB / 494 MB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4666/0.6723, allocations: 72.3 MB / 0.553 GB, free: 44.82 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.443/5.116, allocations: 2.115 GB / 2.668 GB, free: 178.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/5.116, allocations: 81.02 kB / 2.668 GB, free: 178.1 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$conAirNoC$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$conAirNoC$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$conAirWithC$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$conAirWithC$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/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.Fluid.FMI.Interfaces.FluidProperties$conDryAirNoC$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$conDryAirNoC$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$conDryAirWithC$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/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IBPSA.Fluid.FMI.Interfaces.FluidProperties$conDryAirWithC$outlet$forward 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.6526/5.769, allocations: 223.8 MB / 2.886 GB, free: 177.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/5.769, allocations: 11.81 kB / 2.886 GB, free: 177.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/5.769, allocations: 47.22 kB / 2.886 GB, free: 177.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/5.769, allocations: 257.8 kB / 2.887 GB, free: 177 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/5.769, allocations: 125.3 kB / 2.887 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/5.769, allocations: 12.66 kB / 2.887 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002482/5.77, allocations: 132.5 kB / 2.887 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/5.77, allocations: 254.8 kB / 2.887 GB, free: 176.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/5.77, allocations: 6.312 kB / 2.887 GB, free: 176.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/5.77, allocations: 3.406 kB / 2.887 GB, free: 176.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/5.77, allocations: 5.906 kB / 2.887 GB, free: 176.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/5.771, allocations: 1.53 MB / 2.889 GB, free: 175.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.281e-05/5.771, allocations: 165.1 kB / 2.889 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/5.771, allocations: 87.14 kB / 2.889 GB, free: 175.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/5.771, allocations: 78.94 kB / 2.889 GB, free: 175.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/5.771, allocations: 105.8 kB / 2.889 GB, free: 175.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/5.771, allocations: 3.844 kB / 2.889 GB, free: 175.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 8.126e-05/5.771, allocations: 43.48 kB / 2.889 GB, free: 175 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.616e-05/5.771, allocations: 51.41 kB / 2.889 GB, free: 175 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/5.771, allocations: 204.4 kB / 2.889 GB, free: 174.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-06/5.771, allocations: 25.7 kB / 2.889 GB, free: 174.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/5.772, allocations: 199.2 kB / 2.89 GB, free: 174.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/5.772, allocations: 2.969 kB / 2.89 GB, free: 174.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/5.772, allocations: 0 / 2.89 GB, free: 174.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.566e-05/5.772, allocations: 322.8 kB / 2.89 GB, free: 174.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/5.772, allocations: 38.97 kB / 2.89 GB, free: 174.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.39e-05/5.772, allocations: 159.7 kB / 2.89 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/5.772, allocations: 60.27 kB / 2.89 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/5.772, allocations: 0.6562 kB / 2.89 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003187/5.772, allocations: 187.5 kB / 2.89 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/5.772, allocations: 7.719 kB / 2.89 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/5.772, allocations: 11.05 kB / 2.89 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/5.772, allocations: 3.938 kB / 2.89 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/5.772, allocations: 38.7 kB / 2.89 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/5.772, allocations: 8.406 kB / 2.89 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/5.773, allocations: 20.23 kB / 2.89 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/5.773, allocations: 11.78 kB / 2.89 GB, free: 174.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.193e-05/5.773, allocations: 193.9 kB / 2.891 GB, free: 174 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/5.773, allocations: 116.4 kB / 2.891 GB, free: 173.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/5.773, allocations: 117.1 kB / 2.891 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/5.773, allocations: 180.2 kB / 2.891 GB, free: 173.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.034e-05/5.773, allocations: 183.3 kB / 2.891 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.024e-05/5.773, allocations: 180.1 kB / 2.891 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/5.773, allocations: 448.3 kB / 2.892 GB, free: 172.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/5.773, allocations: 101 kB / 2.892 GB, free: 172.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/5.773, allocations: 109.4 kB / 2.892 GB, free: 172.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.73e-05/5.773, allocations: 187.4 kB / 2.892 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/5.773, allocations: 180.3 kB / 2.892 GB, free: 172.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.19e-05/5.773, allocations: 186.1 kB / 2.893 GB, free: 172.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.29e-05/5.773, allocations: 185.2 kB / 2.893 GB, free: 171.9 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.413e-05/5.773, allocations: 307.5 kB / 2.893 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002666/5.774, allocations: 0.7133 MB / 2.894 GB, free: 170.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/5.774, allocations: 191.3 kB / 2.894 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/5.774, allocations: 187.9 kB / 2.894 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/5.774, allocations: 105.5 kB / 2.894 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/5.774, allocations: 176.3 kB / 2.894 GB, free: 170.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/5.774, allocations: 108.1 kB / 2.894 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001038/5.774, allocations: 155 kB / 2.895 GB, free: 170 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001169/5.775, allocations: 206.3 kB / 2.895 GB, free: 169.9 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.001252/5.777, allocations: 1.166 MB / 2.896 GB, free: 169.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000143/5.777, allocations: 75.31 kB / 2.896 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/5.777, allocations: 0 / 2.896 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/5.777, allocations: 0 / 2.896 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/5.777, allocations: 0.5334 MB / 2.897 GB, free: 169 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/5.777, allocations: 255.2 kB / 2.897 GB, free: 168.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/5.778, allocations: 0.766 MB / 2.897 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/5.778, allocations: 0 / 2.897 GB, free: 168.1 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)