Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.664/2.664, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001833/0.001833, allocations: 185.2 kB / 360.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.1 MB / 0.6187 GB, free: 13.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001299/0.001298, allocations: 92.91 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3034/0.3048, allocations: 121.4 MB / 0.8502 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6869/0.9917, allocations: 115.2 MB / 0.9627 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.896/6.887, allocations: 2.322 GB / 3.285 GB, free: 131.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/6.888, allocations: 83.14 kB / 3.285 GB, free: 131.8 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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 1.139/8.027, allocations: 221.5 MB / 3.501 GB, free: 289.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/8.027, allocations: 10.38 kB / 3.501 GB, free: 289.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003376/8.028, allocations: 50.47 kB / 3.501 GB, free: 289.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/8.028, allocations: 256.2 kB / 3.501 GB, free: 289.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/8.028, allocations: 124.8 kB / 3.501 GB, free: 289 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/8.028, allocations: 13.38 kB / 3.501 GB, free: 289 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004293/8.029, allocations: 130.9 kB / 3.502 GB, free: 288.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/8.029, allocations: 252.2 kB / 3.502 GB, free: 288.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/8.029, allocations: 7.031 kB / 3.502 GB, free: 288.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/8.029, allocations: 3.5 kB / 3.502 GB, free: 288.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/8.029, allocations: 5.688 kB / 3.502 GB, free: 288.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/8.031, allocations: 1.521 MB / 3.503 GB, free: 287.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.818e-05/8.031, allocations: 173.1 kB / 3.503 GB, free: 287.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/8.031, allocations: 86.3 kB / 3.504 GB, free: 287.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/8.031, allocations: 79.19 kB / 3.504 GB, free: 287.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/8.031, allocations: 108.2 kB / 3.504 GB, free: 286.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 2.645e-06/8.031, allocations: 0 / 3.504 GB, free: 286.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 0.000105/8.031, allocations: 41.83 kB / 3.504 GB, free: 286.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/8.031, allocations: 51.41 kB / 3.504 GB, free: 286.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/8.032, allocations: 200.9 kB / 3.504 GB, free: 286.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/8.032, allocations: 29.64 kB / 3.504 GB, free: 286.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/8.032, allocations: 193.7 kB / 3.504 GB, free: 286.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.435e-06/8.032, allocations: 11.22 kB / 3.504 GB, free: 286.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/8.032, allocations: 3.938 kB / 3.504 GB, free: 286.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.526e-05/8.032, allocations: 322.2 kB / 3.505 GB, free: 286.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.92e-05/8.032, allocations: 39.45 kB / 3.505 GB, free: 286.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/8.032, allocations: 155.5 kB / 3.505 GB, free: 286 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/8.032, allocations: 65.28 kB / 3.505 GB, free: 286 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/8.032, allocations: 2.75 kB / 3.505 GB, free: 286 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005338/8.033, allocations: 182.8 kB / 3.505 GB, free: 285.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/8.033, allocations: 5.141 kB / 3.505 GB, free: 285.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/8.033, allocations: 4.25 kB / 3.505 GB, free: 285.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/8.033, allocations: 8.844 kB / 3.505 GB, free: 285.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/8.033, allocations: 36.97 kB / 3.505 GB, free: 285.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/8.033, allocations: 12.98 kB / 3.505 GB, free: 285.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/8.034, allocations: 23.08 kB / 3.505 GB, free: 285.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/8.034, allocations: 15 kB / 3.505 GB, free: 285.9 MB / 0.948 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.71e-05/8.034, allocations: 193.7 kB / 3.505 GB, free: 285.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.32e-05/8.034, allocations: 115.6 kB / 3.505 GB, free: 285.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.493e-05/8.034, allocations: 120.1 kB / 3.506 GB, free: 285.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.401e-05/8.034, allocations: 178.9 kB / 3.506 GB, free: 285.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.871e-05/8.034, allocations: 180.1 kB / 3.506 GB, free: 285.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/8.034, allocations: 182.3 kB / 3.506 GB, free: 284.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/8.034, allocations: 447.3 kB / 3.506 GB, free: 284.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/8.034, allocations: 103.9 kB / 3.507 GB, free: 284.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/8.034, allocations: 104.9 kB / 3.507 GB, free: 284.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-05/8.034, allocations: 183.6 kB / 3.507 GB, free: 284.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/8.035, allocations: 179.2 kB / 3.507 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-05/8.035, allocations: 184.3 kB / 3.507 GB, free: 283.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.719e-05/8.035, allocations: 182.1 kB / 3.507 GB, free: 283.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001115/8.035, allocations: 318.7 kB / 3.508 GB, free: 283.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003039/8.035, allocations: 0.7034 MB / 3.508 GB, free: 282.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.64e-05/8.035, allocations: 204.3 kB / 3.509 GB, free: 282.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-05/8.035, allocations: 179 kB / 3.509 GB, free: 282.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/8.035, allocations: 104.3 kB / 3.509 GB, free: 282 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/8.035, allocations: 180.2 kB / 3.509 GB, free: 281.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/8.036, allocations: 104.4 kB / 3.509 GB, free: 281.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002044/8.036, allocations: 159 kB / 3.509 GB, free: 281.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001754/8.037, allocations: 216.6 kB / 3.509 GB, free: 281.5 MB / 0.948 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.001669/8.039, allocations: 1.158 MB / 3.511 GB, free: 281.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002981/8.04, allocations: 70.27 kB / 3.511 GB, free: 281.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/8.04, allocations: 1.125 kB / 3.511 GB, free: 281.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/8.04, allocations: 1.25 kB / 3.511 GB, free: 281.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/8.04, allocations: 0.5302 MB / 3.511 GB, free: 280.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000629/8.041, allocations: 264 kB / 3.511 GB, free: 280.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003379/8.041, allocations: 0.7595 MB / 3.512 GB, free: 279.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.453e-06/8.041, allocations: 0 / 3.512 GB, free: 279.6 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)