Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7944/0.7944, allocations: 127.4 MB / 134.6 MB, free: 4.066 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 177.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.1 MB / 399.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 88.17 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3752/0.3765, allocations: 82.89 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.5531, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.722/6.275, allocations: 2.397 GB / 3.018 GB, free: 56.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/6.275, allocations: 91.88 kB / 3.018 GB, free: 56.6 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.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/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.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.8055/7.081, allocations: 219.6 MB / 3.233 GB, free: 89.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/7.081, allocations: 8 kB / 3.233 GB, free: 89.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002863/7.081, allocations: 47.59 kB / 3.233 GB, free: 89.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/7.081, allocations: 265 kB / 3.233 GB, free: 89.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/7.081, allocations: 127.2 kB / 3.233 GB, free: 88.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/7.081, allocations: 12 kB / 3.233 GB, free: 88.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002617/7.082, allocations: 133 kB / 3.233 GB, free: 88.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/7.082, allocations: 260.9 kB / 3.234 GB, free: 88.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/7.082, allocations: 7.938 kB / 3.234 GB, free: 88.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/7.082, allocations: 0 / 3.234 GB, free: 88.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/7.082, allocations: 8 kB / 3.234 GB, free: 88.49 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/7.083, allocations: 1.513 MB / 3.235 GB, free: 86.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/7.083, allocations: 181.1 kB / 3.235 GB, free: 86.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/7.083, allocations: 80.14 kB / 3.235 GB, free: 86.63 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/7.083, allocations: 75.28 kB / 3.235 GB, free: 86.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/7.083, allocations: 109.8 kB / 3.236 GB, free: 86.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/7.083, allocations: 0 / 3.236 GB, free: 86.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001003/7.084, allocations: 41.52 kB / 3.236 GB, free: 86.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/7.084, allocations: 55.41 kB / 3.236 GB, free: 86.33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/7.084, allocations: 197.6 kB / 3.236 GB, free: 86.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/7.084, allocations: 25.7 kB / 3.236 GB, free: 86.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/7.084, allocations: 199 kB / 3.236 GB, free: 85.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-06/7.084, allocations: 4 kB / 3.236 GB, free: 85.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/7.084, allocations: 0 / 3.236 GB, free: 85.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/7.084, allocations: 322.8 kB / 3.236 GB, free: 85.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-05/7.084, allocations: 39.86 kB / 3.236 GB, free: 85.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.823e-05/7.084, allocations: 157.6 kB / 3.237 GB, free: 85.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/7.084, allocations: 67.89 kB / 3.237 GB, free: 85.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/7.084, allocations: 0 / 3.237 GB, free: 85.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003958/7.085, allocations: 193.3 kB / 3.237 GB, free: 85.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/7.085, allocations: 4 kB / 3.237 GB, free: 85.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/7.085, allocations: 4 kB / 3.237 GB, free: 85.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/7.085, allocations: 8 kB / 3.237 GB, free: 85.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/7.085, allocations: 39.91 kB / 3.237 GB, free: 85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/7.085, allocations: 15.92 kB / 3.237 GB, free: 84.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/7.085, allocations: 20.22 kB / 3.237 GB, free: 84.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/7.085, allocations: 12 kB / 3.237 GB, free: 84.95 MB / 0.6355 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.908e-05/7.085, allocations: 192.1 kB / 3.237 GB, free: 84.76 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/7.085, allocations: 112.8 kB / 3.237 GB, free: 84.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/7.085, allocations: 121.4 kB / 3.237 GB, free: 84.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/7.086, allocations: 180.3 kB / 3.237 GB, free: 84.33 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.161e-05/7.086, allocations: 180.2 kB / 3.238 GB, free: 84.15 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.249e-05/7.086, allocations: 188.2 kB / 3.238 GB, free: 83.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/7.086, allocations: 441.7 kB / 3.238 GB, free: 83.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/7.086, allocations: 101 kB / 3.238 GB, free: 83.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/7.086, allocations: 104.9 kB / 3.238 GB, free: 83.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.351e-05/7.086, allocations: 184.2 kB / 3.239 GB, free: 83.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/7.086, allocations: 184.2 kB / 3.239 GB, free: 82.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.08e-05/7.086, allocations: 180.2 kB / 3.239 GB, free: 82.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-05/7.086, allocations: 184.3 kB / 3.239 GB, free: 82.52 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.981e-05/7.086, allocations: 317 kB / 3.239 GB, free: 82.19 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002693/7.086, allocations: 0.711 MB / 3.24 GB, free: 81.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/7.086, allocations: 197.9 kB / 3.24 GB, free: 81.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/7.087, allocations: 180.3 kB / 3.24 GB, free: 81.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/7.087, allocations: 104.9 kB / 3.241 GB, free: 80.94 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/7.087, allocations: 184.2 kB / 3.241 GB, free: 80.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/7.087, allocations: 105 kB / 3.241 GB, free: 80.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001065/7.087, allocations: 156.2 kB / 3.241 GB, free: 80.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00141/7.088, allocations: 203.8 kB / 3.241 GB, free: 80.29 MB / 0.6355 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.001347/7.09, allocations: 1.169 MB / 3.242 GB, free: 79.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000155/7.09, allocations: 71.78 kB / 3.242 GB, free: 79.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/7.09, allocations: 8 kB / 3.242 GB, free: 79.03 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/7.09, allocations: 0 / 3.242 GB, free: 79.03 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/7.09, allocations: 0.5316 MB / 3.243 GB, free: 78.49 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/7.09, allocations: 255.6 kB / 3.243 GB, free: 78.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/7.091, allocations: 0.7661 MB / 3.244 GB, free: 77.43 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/7.091, allocations: 0 / 3.244 GB, free: 77.43 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)