Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.395/1.395, allocations: 285.5 MB / 292.8 MB, free: 9.848 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 189.2 kB / 361.1 MB, free: 420 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.1 MB / 0.6195 GB, free: 2.91 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009329/0.000933, allocations: 100 kB / 0.7326 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4748/0.4758, allocations: 121.4 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.6972, allocations: 115.3 MB / 0.9638 GB, free: 56.33 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.133/4.831, allocations: 2.322 GB / 3.286 GB, free: 332.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/4.831, allocations: 85.17 kB / 3.286 GB, free: 332.1 MB / 0.9323 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.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/Buildings 8.0.1-maint.8.0.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.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/Buildings 8.0.1-maint.8.0.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.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/Buildings 8.0.1-maint.8.0.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.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/Buildings 8.0.1-maint.8.0.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.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/Buildings 8.0.1-maint.8.0.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.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/Buildings 8.0.1-maint.8.0.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.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/Buildings 8.0.1-maint.8.0.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.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/Buildings 8.0.1-maint.8.0.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.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/Buildings 8.0.1-maint.8.0.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.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/Buildings 8.0.1-maint.8.0.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.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/Buildings 8.0.1-maint.8.0.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.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.3543/5.185, allocations: 221.5 MB / 3.502 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/5.185, allocations: 8 kB / 3.502 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/5.186, allocations: 47.69 kB / 3.502 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/5.186, allocations: 254.8 kB / 3.503 GB, free: 106 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/5.186, allocations: 127.2 kB / 3.503 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/5.186, allocations: 12 kB / 3.503 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002338/5.186, allocations: 136.9 kB / 3.503 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/5.187, allocations: 253 kB / 3.503 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/5.187, allocations: 4 kB / 3.503 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/5.187, allocations: 0 / 3.503 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/5.187, allocations: 8 kB / 3.503 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/5.188, allocations: 1.524 MB / 3.505 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.359e-05/5.188, allocations: 165.1 kB / 3.505 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/5.188, allocations: 80.14 kB / 3.505 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/5.188, allocations: 79.28 kB / 3.505 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/5.188, allocations: 117.8 kB / 3.505 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/5.188, allocations: 0 / 3.505 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 7.446e-05/5.188, allocations: 41.5 kB / 3.505 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/5.188, allocations: 51.59 kB / 3.505 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/5.188, allocations: 205.3 kB / 3.505 GB, free: 103.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-06/5.188, allocations: 25.7 kB / 3.505 GB, free: 103 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 6.405e-05/5.188, allocations: 207 kB / 3.505 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/5.188, allocations: 0 / 3.505 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/5.188, allocations: 0 / 3.505 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.624e-05/5.188, allocations: 322.8 kB / 3.506 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.161e-05/5.188, allocations: 35.98 kB / 3.506 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.28e-05/5.188, allocations: 161.1 kB / 3.506 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/5.189, allocations: 63.89 kB / 3.506 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/5.189, allocations: 4 kB / 3.506 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003072/5.189, allocations: 185.7 kB / 3.506 GB, free: 102 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/5.189, allocations: 8 kB / 3.506 GB, free: 102 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/5.189, allocations: 4 kB / 3.506 GB, free: 102 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/5.189, allocations: 4 kB / 3.506 GB, free: 102 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/5.189, allocations: 39.92 kB / 3.506 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/5.189, allocations: 7.984 kB / 3.506 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/5.189, allocations: 23.69 kB / 3.506 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/5.189, allocations: 19.94 kB / 3.506 GB, free: 101.9 MB / 0.9323 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 6.523e-05/5.189, allocations: 184.1 kB / 3.506 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/5.189, allocations: 120.8 kB / 3.507 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/5.189, allocations: 117.5 kB / 3.507 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/5.19, allocations: 176.3 kB / 3.507 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.363e-05/5.19, allocations: 180.2 kB / 3.507 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.389e-05/5.19, allocations: 180.3 kB / 3.507 GB, free: 100.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/5.19, allocations: 457.6 kB / 3.508 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/5.19, allocations: 101 kB / 3.508 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/5.19, allocations: 101 kB / 3.508 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-05/5.19, allocations: 176.3 kB / 3.508 GB, free: 100 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/5.19, allocations: 180.2 kB / 3.508 GB, free: 99.85 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-05/5.19, allocations: 180.3 kB / 3.508 GB, free: 99.67 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.771e-05/5.19, allocations: 193.4 kB / 3.509 GB, free: 99.47 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.557e-05/5.19, allocations: 307.7 kB / 3.509 GB, free: 99.15 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002105/5.19, allocations: 0.7226 MB / 3.51 GB, free: 98.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/5.19, allocations: 197.9 kB / 3.51 GB, free: 98.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/5.19, allocations: 180.2 kB / 3.51 GB, free: 98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/5.19, allocations: 101.3 kB / 3.51 GB, free: 97.89 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/5.19, allocations: 180.3 kB / 3.51 GB, free: 97.71 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/5.19, allocations: 109 kB / 3.51 GB, free: 97.59 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.28e-05/5.191, allocations: 160.2 kB / 3.51 GB, free: 97.44 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001061/5.192, allocations: 211.7 kB / 3.511 GB, free: 97.23 MB / 0.9323 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.001019/5.193, allocations: 1.156 MB / 3.512 GB, free: 96.07 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001321/5.193, allocations: 68.92 kB / 3.512 GB, free: 96 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/5.193, allocations: 0 / 3.512 GB, free: 96 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/5.193, allocations: 192 / 3.512 GB, free: 96 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/5.193, allocations: 0.5343 MB / 3.512 GB, free: 95.46 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/5.193, allocations: 267.4 kB / 3.513 GB, free: 95.17 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/5.194, allocations: 0.7661 MB / 3.513 GB, free: 94.38 MB / 0.9323 GB Notification: Performance of SimCode: time 2.61e-07/5.194, allocations: 0 / 3.513 GB, free: 94.38 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)