Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") [: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.7914/0.7914, allocations: 141.8 MB / 149.1 MB, free: 12.27 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.00137/0.00137, allocations: 182.1 kB / 182 MB, free: 9.004 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.625/1.625, allocations: 221.4 MB / 436.1 MB, free: 1.27 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.001251/0.001251, allocations: 97.44 kB / 0.507 GB, free: 10.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001861/0.001861, allocations: 275.3 kB / 0.5884 GB, free: 7.031 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 9.989e-06/1.011e-05, allocations: 4 kB / 0.6759 GB, free: 13.38 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5895/0.5896, allocations: 82.76 MB / 0.7567 GB, free: 138.3 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.615/5.204, allocations: 2.122 GB / 2.878 GB, free: 187.3 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/5.205, allocations: 88.27 kB / 2.879 GB, free: 187.2 MB / 0.6982 GB [/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$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/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$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/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$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/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$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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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: Performance of FrontEnd: time 0.813/6.018, allocations: 223.5 MB / 3.097 GB, free: 203.5 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 3.015e-05/6.018, allocations: 10.66 kB / 3.097 GB, free: 203.5 MB / 0.6982 GB 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.0006858/6.018, allocations: 449.9 kB / 3.097 GB, free: 203.2 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/6.019, allocations: 9.031 kB / 3.097 GB, free: 203.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003332/6.019, allocations: 46.3 kB / 3.097 GB, free: 203.2 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/6.019, allocations: 262 kB / 3.097 GB, free: 203 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/6.019, allocations: 124.4 kB / 3.098 GB, free: 202.8 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/6.019, allocations: 11.25 kB / 3.098 GB, free: 202.8 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000297/6.02, allocations: 130.8 kB / 3.098 GB, free: 202.8 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/6.02, allocations: 255 kB / 3.098 GB, free: 202.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/6.02, allocations: 0 / 3.098 GB, free: 202.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/6.02, allocations: 3.688 kB / 3.098 GB, free: 202.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/6.02, allocations: 7.594 kB / 3.098 GB, free: 202.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/6.021, allocations: 1.525 MB / 3.099 GB, free: 201.5 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 6.149e-05/6.022, allocations: 169 kB / 3.1 GB, free: 201.3 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/6.022, allocations: 84.05 kB / 3.1 GB, free: 201.2 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/6.022, allocations: 80 kB / 3.1 GB, free: 201.1 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/6.022, allocations: 110.5 kB / 3.1 GB, free: 201 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=0): time 1.813e-06/6.022, allocations: 0 / 3.1 GB, free: 201 MB / 0.6982 GB Notification: Performance of matching and sorting (n=0): time 0.0001029/6.022, allocations: 37.58 kB / 3.1 GB, free: 201 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/6.022, allocations: 54.03 kB / 3.1 GB, free: 200.9 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/6.022, allocations: 206.8 kB / 3.1 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/6.022, allocations: 25.7 kB / 3.1 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/6.022, allocations: 193.5 kB / 3.1 GB, free: 200.7 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 4.458e-06/6.022, allocations: 2.875 kB / 3.1 GB, free: 200.7 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/6.022, allocations: 7.438 kB / 3.1 GB, free: 200.7 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.806e-05/6.022, allocations: 321.9 kB / 3.101 GB, free: 200.3 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/6.022, allocations: 39.62 kB / 3.101 GB, free: 200.3 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/6.022, allocations: 170.5 kB / 3.101 GB, free: 200.2 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/6.023, allocations: 59.38 kB / 3.101 GB, free: 200.2 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/6.023, allocations: 0 / 3.101 GB, free: 200.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003715/6.023, allocations: 188.2 kB / 3.101 GB, free: 200.1 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/6.023, allocations: 6.625 kB / 3.101 GB, free: 200.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/6.023, allocations: 7.406 kB / 3.101 GB, free: 200.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/6.023, allocations: 3.594 kB / 3.101 GB, free: 200.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/6.023, allocations: 45.25 kB / 3.101 GB, free: 200.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/6.023, allocations: 11.58 kB / 3.101 GB, free: 200.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/6.023, allocations: 15.44 kB / 3.101 GB, free: 200.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/6.023, allocations: 11.69 kB / 3.101 GB, free: 200.1 MB / 0.6982 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.721e-05/6.024, allocations: 193.6 kB / 3.101 GB, free: 199.9 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/6.024, allocations: 111 kB / 3.102 GB, free: 199.8 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/6.024, allocations: 126.7 kB / 3.102 GB, free: 199.7 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/6.024, allocations: 176.3 kB / 3.102 GB, free: 199.6 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.197e-05/6.024, allocations: 179.4 kB / 3.102 GB, free: 199.4 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/6.024, allocations: 180.2 kB / 3.102 GB, free: 199.2 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/6.024, allocations: 449.8 kB / 3.103 GB, free: 198.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/6.024, allocations: 105.8 kB / 3.103 GB, free: 198.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/6.024, allocations: 104.7 kB / 3.103 GB, free: 198.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.304e-05/6.024, allocations: 179.9 kB / 3.103 GB, free: 198.4 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/6.024, allocations: 179.9 kB / 3.103 GB, free: 198.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.461e-05/6.024, allocations: 177.8 kB / 3.103 GB, free: 198 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.592e-05/6.024, allocations: 185.1 kB / 3.104 GB, free: 197.8 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001003/6.024, allocations: 321.8 kB / 3.104 GB, free: 197.5 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/6.024, allocations: 195.7 kB / 3.104 GB, free: 197.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/6.024, allocations: 187 kB / 3.104 GB, free: 197.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.703e-05/6.025, allocations: 104.7 kB / 3.104 GB, free: 197 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/6.025, allocations: 180.1 kB / 3.104 GB, free: 196.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/6.025, allocations: 101 kB / 3.105 GB, free: 196.8 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0001226/6.025, allocations: 152.5 kB / 3.105 GB, free: 196.7 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0005264/6.025, allocations: 118.4 kB / 3.105 GB, free: 196.7 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.001492/6.027, allocations: 1.167 MB / 3.106 GB, free: 196.4 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0001673/6.027, allocations: 73.31 kB / 3.106 GB, free: 196.4 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/6.027, allocations: 3.656 kB / 3.106 GB, free: 196.4 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/6.027, allocations: 0 / 3.106 GB, free: 196.4 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/6.027, allocations: 0.5315 MB / 3.107 GB, free: 195.9 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/6.028, allocations: 254.9 kB / 3.107 GB, free: 195.7 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/6.028, allocations: 0.764 MB / 3.108 GB, free: 195 MB / 0.6982 GB Notification: Performance of SimCode: time 4.31e-07/6.028, allocations: 0 / 3.108 GB, free: 195 MB / 0.6982 GB Notification: Performance of Templates: time 0.01248/6.041, allocations: 7.085 MB / 3.114 GB, free: 194.8 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)