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: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7425/0.7425, allocations: 141.8 MB / 149.1 MB, free: 12.98 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.00123/0.001231, allocations: 187.1 kB / 181.9 MB, free: 9.664 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.339/1.339, allocations: 221.4 MB / 436 MB, free: 2.164 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.0009883/0.0009883, allocations: 100.2 kB / 0.507 GB, free: 10.87 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001897/0.001897, allocations: 274.1 kB / 0.5884 GB, free: 7.719 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1823/0.1843, allocations: 89.65 MB / 0.676 GB, free: 13.97 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.5743, allocations: 82.77 MB / 0.7568 GB, free: 138.9 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.981/4.556, allocations: 2.122 GB / 2.879 GB, free: 194.8 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/4.556, allocations: 87.55 kB / 2.879 GB, free: 194.7 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: 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.7572/5.313, allocations: 223.9 MB / 3.097 GB, free: 204.5 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/5.313, allocations: 11.16 kB / 3.097 GB, free: 204.5 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/5.314, allocations: 45.44 kB / 3.097 GB, free: 204.5 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/5.314, allocations: 257.2 kB / 3.098 GB, free: 204.2 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/5.314, allocations: 129.2 kB / 3.098 GB, free: 204.1 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/5.314, allocations: 14.06 kB / 3.098 GB, free: 204.1 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002338/5.314, allocations: 130.8 kB / 3.098 GB, free: 204.1 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/5.315, allocations: 253.9 kB / 3.098 GB, free: 204 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/5.315, allocations: 2.531 kB / 3.098 GB, free: 204 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/5.315, allocations: 0 / 3.098 GB, free: 204 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/5.315, allocations: 7.531 kB / 3.098 GB, free: 204 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/5.316, allocations: 1.524 MB / 3.1 GB, free: 202.8 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 5.34e-05/5.316, allocations: 167.9 kB / 3.1 GB, free: 202.6 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/5.316, allocations: 80.14 kB / 3.1 GB, free: 202.5 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/5.316, allocations: 78 kB / 3.1 GB, free: 202.4 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/5.316, allocations: 121.4 kB / 3.1 GB, free: 202.3 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/5.316, allocations: 4.547 kB / 3.1 GB, free: 202.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=0): time 8.251e-05/5.316, allocations: 33.52 kB / 3.1 GB, free: 202.3 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/5.316, allocations: 51.41 kB / 3.1 GB, free: 202.2 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/5.316, allocations: 198.9 kB / 3.1 GB, free: 202.1 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/5.316, allocations: 25.7 kB / 3.1 GB, free: 202.1 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/5.316, allocations: 201.3 kB / 3.101 GB, free: 202 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-06/5.316, allocations: 0 / 3.101 GB, free: 202 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/5.316, allocations: 0 / 3.101 GB, free: 202 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/5.316, allocations: 333.1 kB / 3.101 GB, free: 201.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.037e-05/5.316, allocations: 32.06 kB / 3.101 GB, free: 201.6 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-05/5.316, allocations: 153.6 kB / 3.101 GB, free: 201.5 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/5.317, allocations: 68.78 kB / 3.101 GB, free: 201.5 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/5.317, allocations: 0 / 3.101 GB, free: 201.5 MB / 0.6982 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003347/5.317, allocations: 181.8 kB / 3.101 GB, free: 201.4 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/5.317, allocations: 9.859 kB / 3.101 GB, free: 201.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/5.317, allocations: 8.312 kB / 3.101 GB, free: 201.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/5.317, allocations: 6.125 kB / 3.101 GB, free: 201.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/5.317, allocations: 43.2 kB / 3.101 GB, free: 201.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/5.317, allocations: 7.656 kB / 3.101 GB, free: 201.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/5.317, allocations: 20.06 kB / 3.101 GB, free: 201.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/5.317, allocations: 12.83 kB / 3.101 GB, free: 201.4 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 7.07e-05/5.317, allocations: 189.4 kB / 3.102 GB, free: 201.3 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/5.317, allocations: 124.4 kB / 3.102 GB, free: 201.1 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/5.318, allocations: 116.2 kB / 3.102 GB, free: 201 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/5.318, allocations: 180.2 kB / 3.102 GB, free: 200.9 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.097e-05/5.318, allocations: 183.5 kB / 3.102 GB, free: 200.7 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.65e-05/5.318, allocations: 180 kB / 3.102 GB, free: 200.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/5.318, allocations: 452.2 kB / 3.103 GB, free: 200.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/5.318, allocations: 107 kB / 3.103 GB, free: 200 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.776e-05/5.318, allocations: 104.6 kB / 3.103 GB, free: 199.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.869e-05/5.318, allocations: 182.2 kB / 3.103 GB, free: 199.7 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/5.318, allocations: 179.6 kB / 3.103 GB, free: 199.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.623e-05/5.318, allocations: 176.3 kB / 3.103 GB, free: 199.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.117e-05/5.318, allocations: 185.4 kB / 3.104 GB, free: 199.2 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.979e-05/5.318, allocations: 315.1 kB / 3.104 GB, free: 198.8 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002333/5.318, allocations: 0.7097 MB / 3.105 GB, free: 198.1 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/5.318, allocations: 195.1 kB / 3.105 GB, free: 197.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/5.318, allocations: 183.1 kB / 3.105 GB, free: 197.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.691e-05/5.319, allocations: 108.2 kB / 3.105 GB, free: 197.7 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/5.319, allocations: 178 kB / 3.105 GB, free: 197.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/5.319, allocations: 101 kB / 3.105 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0001005/5.319, allocations: 153.5 kB / 3.105 GB, free: 197.3 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001177/5.32, allocations: 207.8 kB / 3.106 GB, free: 197.3 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.001129/5.321, allocations: 1.164 MB / 3.107 GB, free: 197 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0001467/5.321, allocations: 84.41 kB / 3.107 GB, free: 197 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/5.321, allocations: 0 / 3.107 GB, free: 197 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/5.321, allocations: 2.875 kB / 3.107 GB, free: 197 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/5.321, allocations: 0.528 MB / 3.107 GB, free: 196.5 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/5.322, allocations: 261 kB / 3.108 GB, free: 196.3 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/5.322, allocations: 0.7585 MB / 3.108 GB, free: 195.6 MB / 0.6982 GB Notification: Performance of SimCode: time 2.51e-07/5.322, allocations: 0 / 3.108 GB, free: 195.6 MB / 0.6982 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)