Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7422/0.7422, allocations: 141.8 MB / 149.1 MB, free: 12.22 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 185.6 kB / 182 MB, free: 8.98 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.4 MB / 436 MB, free: 1.254 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 91.2 kB / 0.507 GB, free: 10.16 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001937/0.001937, allocations: 278.6 kB / 0.5885 GB, free: 6.992 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2215/0.2235, allocations: 89.65 MB / 0.676 GB, free: 13.25 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4865/0.71, allocations: 82.76 MB / 0.7568 GB, free: 138.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.47/5.18, allocations: 2.135 GB / 2.892 GB, free: 168.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/5.18, allocations: 94.78 kB / 2.892 GB, free: 168.3 MB / 0.6982 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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.245/5.425, allocations: 142 MB / 3.031 GB, free: 24.84 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/5.425, allocations: 9 kB / 3.031 GB, free: 24.83 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/5.425, allocations: 27.72 kB / 3.031 GB, free: 24.8 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/5.426, allocations: 266.5 kB / 3.031 GB, free: 24.5 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/5.426, allocations: 8.219 kB / 3.031 GB, free: 24.49 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/5.426, allocations: 15.91 kB / 3.031 GB, free: 24.48 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001685/5.426, allocations: 92.8 kB / 3.031 GB, free: 24.39 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/5.426, allocations: 288.7 kB / 3.031 GB, free: 24.04 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/5.426, allocations: 7.938 kB / 3.031 GB, free: 24.03 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/5.426, allocations: 0 / 3.031 GB, free: 24.03 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/5.426, allocations: 8 kB / 3.031 GB, free: 24.02 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/5.427, allocations: 1.884 MB / 3.033 GB, free: 22.04 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 7.204e-05/5.427, allocations: 173.1 kB / 3.033 GB, free: 21.86 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/5.427, allocations: 80.14 kB / 3.033 GB, free: 21.78 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/5.427, allocations: 75.28 kB / 3.034 GB, free: 21.71 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/5.428, allocations: 109.8 kB / 3.034 GB, free: 21.59 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/5.428, allocations: 0 / 3.034 GB, free: 21.59 MB / 0.6982 GB Notification: Performance of matching and sorting (n=0): time 9.248e-05/5.428, allocations: 49.48 kB / 3.034 GB, free: 21.54 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/5.428, allocations: 55.41 kB / 3.034 GB, free: 21.47 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/5.428, allocations: 145.6 kB / 3.034 GB, free: 21.32 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 9.507e-06/5.428, allocations: 25.7 kB / 3.034 GB, free: 21.29 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/5.428, allocations: 167.4 kB / 3.034 GB, free: 21.12 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/5.428, allocations: 4 kB / 3.034 GB, free: 21.12 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/5.428, allocations: 0 / 3.034 GB, free: 21.12 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/5.428, allocations: 322.7 kB / 3.034 GB, free: 20.79 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/5.428, allocations: 4 kB / 3.034 GB, free: 20.79 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.589e-05/5.428, allocations: 58.86 kB / 3.034 GB, free: 20.71 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/5.428, allocations: 12 kB / 3.034 GB, free: 20.7 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/5.428, allocations: 7.938 kB / 3.034 GB, free: 20.69 MB / 0.6982 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001848/5.428, allocations: 73.47 kB / 3.034 GB, free: 20.61 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/5.428, allocations: 8 kB / 3.035 GB, free: 20.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/5.428, allocations: 0 / 3.035 GB, free: 20.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/5.428, allocations: 4 kB / 3.035 GB, free: 20.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.29e-05/5.429, allocations: 15.98 kB / 3.035 GB, free: 20.58 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/5.429, allocations: 256 / 3.035 GB, free: 20.58 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/5.429, allocations: 15.84 kB / 3.035 GB, free: 20.57 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/5.429, allocations: 4 kB / 3.035 GB, free: 20.56 MB / 0.6982 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 7.453e-05/5.429, allocations: 188.2 kB / 3.035 GB, free: 20.37 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/5.429, allocations: 112.8 kB / 3.035 GB, free: 20.25 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/5.429, allocations: 113.5 kB / 3.035 GB, free: 20.14 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/5.429, allocations: 184.1 kB / 3.035 GB, free: 19.95 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.543e-05/5.429, allocations: 180.3 kB / 3.035 GB, free: 19.77 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.481e-05/5.429, allocations: 192.2 kB / 3.035 GB, free: 19.57 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/5.429, allocations: 441.7 kB / 3.036 GB, free: 19.09 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/5.429, allocations: 101 kB / 3.036 GB, free: 18.99 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/5.429, allocations: 101 kB / 3.036 GB, free: 18.88 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.87e-05/5.429, allocations: 184.1 kB / 3.036 GB, free: 18.7 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/5.429, allocations: 184.3 kB / 3.036 GB, free: 18.51 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-05/5.429, allocations: 176.3 kB / 3.037 GB, free: 18.33 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.329e-05/5.429, allocations: 185.4 kB / 3.037 GB, free: 18.14 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.627e-05/5.429, allocations: 307.7 kB / 3.037 GB, free: 17.82 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002332/5.43, allocations: 0.7031 MB / 3.038 GB, free: 17.09 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/5.43, allocations: 189.9 kB / 3.038 GB, free: 16.88 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/5.43, allocations: 180.2 kB / 3.038 GB, free: 16.69 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/5.43, allocations: 109.3 kB / 3.038 GB, free: 16.58 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/5.43, allocations: 180.3 kB / 3.038 GB, free: 16.39 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/5.43, allocations: 109 kB / 3.038 GB, free: 16.28 MB / 0.6982 GB Notification: Performance of sort global known variables: time 7.478e-05/5.43, allocations: 120.3 kB / 3.039 GB, free: 16.16 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001153/5.431, allocations: 127.7 kB / 3.039 GB, free: 16.04 MB / 0.6982 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.000717/5.432, allocations: 0.7436 MB / 3.039 GB, free: 15.29 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 8.166e-05/5.432, allocations: 23.88 kB / 3.039 GB, free: 15.27 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/5.432, allocations: 4 kB / 3.039 GB, free: 15.27 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/5.432, allocations: 0 / 3.039 GB, free: 15.27 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/5.432, allocations: 0.5295 MB / 3.04 GB, free: 14.73 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/5.433, allocations: 271.2 kB / 3.04 GB, free: 14.44 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/5.433, allocations: 0.7621 MB / 3.041 GB, free: 13.65 MB / 0.6982 GB Notification: Performance of SimCode: time 2.41e-07/5.433, allocations: 4 kB / 3.041 GB, free: 13.64 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)