Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.001151/0.001151, allocations: 188 kB / 7.803 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.4639/0.4639, 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.327/1.327, allocations: 221.4 MB / 342.7 MB, free: 5.23 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.0009554/0.0009554, allocations: 100.9 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.21/0.211, allocations: 78.45 MB / 494 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.6461, allocations: 72.29 MB / 0.553 GB, free: 73.32 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.62/5.266, allocations: 2.128 GB / 2.681 GB, free: 163.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/5.266, allocations: 89.19 kB / 2.681 GB, free: 163.2 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 (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$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/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/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/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/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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.2546/5.521, allocations: 141.9 MB / 2.82 GB, free: 19.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/5.521, allocations: 12 kB / 2.82 GB, free: 19.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.208e-05/5.521, allocations: 27.7 kB / 2.82 GB, free: 19.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/5.522, allocations: 271.8 kB / 2.82 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/5.522, allocations: 7.984 kB / 2.82 GB, free: 19.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/5.522, allocations: 12 kB / 2.82 GB, free: 19.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002001/5.522, allocations: 88.86 kB / 2.82 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/5.522, allocations: 292.7 kB / 2.821 GB, free: 19.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/5.522, allocations: 3.938 kB / 2.821 GB, free: 19.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/5.522, allocations: 4 kB / 2.821 GB, free: 19.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/5.522, allocations: 11.91 kB / 2.821 GB, free: 19.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009701/5.523, allocations: 1.876 MB / 2.822 GB, free: 17.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.289e-05/5.523, allocations: 169.1 kB / 2.823 GB, free: 16.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/5.523, allocations: 80.14 kB / 2.823 GB, free: 16.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/5.523, allocations: 83.27 kB / 2.823 GB, free: 16.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/5.523, allocations: 113.8 kB / 2.823 GB, free: 16.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.794e-06/5.523, allocations: 0 / 2.823 GB, free: 16.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 8.64e-05/5.523, allocations: 41.8 kB / 2.823 GB, free: 16.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/5.523, allocations: 55.41 kB / 2.823 GB, free: 16.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/5.524, allocations: 150.3 kB / 2.823 GB, free: 16.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.593e-06/5.524, allocations: 25.7 kB / 2.823 GB, free: 16.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/5.524, allocations: 167.4 kB / 2.823 GB, free: 16.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/5.524, allocations: 0 / 2.823 GB, free: 16.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/5.524, allocations: 4 kB / 2.823 GB, free: 16.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.725e-05/5.524, allocations: 322.8 kB / 2.824 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/5.524, allocations: 8 kB / 2.824 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.851e-05/5.524, allocations: 50.88 kB / 2.824 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.123e-05/5.524, allocations: 19.92 kB / 2.824 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/5.524, allocations: 0 / 2.824 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001524/5.524, allocations: 81.53 kB / 2.824 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/5.524, allocations: 8.031 kB / 2.824 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/5.524, allocations: 4 kB / 2.824 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/5.524, allocations: 0 / 2.824 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/5.524, allocations: 19.98 kB / 2.824 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/5.524, allocations: 4 kB / 2.824 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/5.524, allocations: 11.84 kB / 2.824 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/5.524, allocations: 8 kB / 2.824 GB, free: 15.59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.407e-05/5.524, allocations: 180.2 kB / 2.824 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/5.524, allocations: 116.9 kB / 2.824 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/5.524, allocations: 121.4 kB / 2.824 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/5.524, allocations: 176.3 kB / 2.824 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.012e-05/5.524, allocations: 180.2 kB / 2.824 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/5.524, allocations: 180.2 kB / 2.825 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/5.525, allocations: 437.7 kB / 2.825 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/5.525, allocations: 113 kB / 2.825 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.731e-05/5.525, allocations: 104.9 kB / 2.825 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.678e-05/5.525, allocations: 176.3 kB / 2.825 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/5.525, allocations: 176.3 kB / 2.826 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.764e-05/5.525, allocations: 181.5 kB / 2.826 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.09e-05/5.525, allocations: 188.3 kB / 2.826 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.7e-05/5.525, allocations: 315.6 kB / 2.826 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001978/5.525, allocations: 0.6992 MB / 2.827 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/5.525, allocations: 193.9 kB / 2.827 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/5.525, allocations: 176.3 kB / 2.827 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.385e-05/5.525, allocations: 101.3 kB / 2.827 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/5.525, allocations: 188.1 kB / 2.828 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/5.525, allocations: 113 kB / 2.828 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.244e-05/5.525, allocations: 119.4 kB / 2.828 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001052/5.527, allocations: 131.7 kB / 2.828 GB, free: 11.07 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.0007082/5.527, allocations: 0.7433 MB / 2.829 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.248e-05/5.527, allocations: 15.94 kB / 2.829 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/5.527, allocations: 0 / 2.829 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/5.527, allocations: 0 / 2.829 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/5.528, allocations: 0.5346 MB / 2.829 GB, free: 9.762 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/5.528, allocations: 267.2 kB / 2.829 GB, free: 9.469 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/5.528, allocations: 0.766 MB / 2.83 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/5.528, allocations: 0 / 2.83 GB, free: 8.676 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)