Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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 10.0.0-master/package.mo): time 2.184/2.184, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 181.8 kB / 490.8 MB, free: 11.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 221.4 MB / 0.7863 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009937/0.0009939, allocations: 97.94 kB / 0.9264 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3681/0.3691, allocations: 149.1 MB / 1.072 GB, free: 15.48 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9391/1.308, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.38/5.688, allocations: 1.718 GB / 2.93 GB, free: 385.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/5.688, allocations: 80.45 kB / 2.93 GB, free: 385.3 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAir$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 10.0.0-master/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 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAir$inlet$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 10.0.0-master/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 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$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 10.0.0-master/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 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$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 10.0.0-master/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 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirRevFlo$inlet$backward 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 10.0.0-master/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 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$sou$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 10.0.0-master/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 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$souRev$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 10.0.0-master/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 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$souRev$outlet$backward 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.5458/6.234, allocations: 291.8 MB / 3.215 GB, free: 87.48 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/6.234, allocations: 8 kB / 3.215 GB, free: 87.47 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/6.234, allocations: 23.72 kB / 3.215 GB, free: 87.45 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/6.235, allocations: 255.2 kB / 3.215 GB, free: 87.16 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/6.235, allocations: 8 kB / 3.215 GB, free: 87.15 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/6.235, allocations: 16 kB / 3.215 GB, free: 87.13 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001572/6.235, allocations: 60.88 kB / 3.215 GB, free: 87.07 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/6.235, allocations: 226.4 kB / 3.215 GB, free: 86.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/6.235, allocations: 0 / 3.215 GB, free: 86.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/6.235, allocations: 4 kB / 3.215 GB, free: 86.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/6.235, allocations: 4 kB / 3.215 GB, free: 86.79 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008413/6.236, allocations: 1.36 MB / 3.217 GB, free: 85.36 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/6.236, allocations: 170.1 kB / 3.217 GB, free: 85.18 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/6.236, allocations: 84.14 kB / 3.217 GB, free: 85.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/6.236, allocations: 79.28 kB / 3.217 GB, free: 85.02 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/6.236, allocations: 105.8 kB / 3.217 GB, free: 84.91 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/6.236, allocations: 0 / 3.217 GB, free: 84.91 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 7.868e-05/6.236, allocations: 37.61 kB / 3.217 GB, free: 84.86 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/6.236, allocations: 55.34 kB / 3.217 GB, free: 84.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/6.237, allocations: 133.8 kB / 3.217 GB, free: 84.66 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/6.237, allocations: 25.7 kB / 3.217 GB, free: 84.63 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/6.237, allocations: 159.5 kB / 3.217 GB, free: 84.47 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-06/6.237, allocations: 7.984 kB / 3.217 GB, free: 84.46 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/6.237, allocations: 0 / 3.217 GB, free: 84.46 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.484e-05/6.237, allocations: 318.8 kB / 3.218 GB, free: 84.14 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/6.237, allocations: 0 / 3.218 GB, free: 84.14 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732e-05/6.237, allocations: 27.42 kB / 3.218 GB, free: 84.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.254e-05/6.237, allocations: 12.03 kB / 3.218 GB, free: 84.09 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/6.237, allocations: 0 / 3.218 GB, free: 84.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001211/6.237, allocations: 49.55 kB / 3.218 GB, free: 84.04 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/6.237, allocations: 8.094 kB / 3.218 GB, free: 84.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/6.237, allocations: 7.938 kB / 3.218 GB, free: 84.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/6.237, allocations: 4.125 kB / 3.218 GB, free: 84.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/6.237, allocations: 4 kB / 3.218 GB, free: 84.01 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/6.237, allocations: 7.938 kB / 3.218 GB, free: 84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/6.237, allocations: 3.906 kB / 3.218 GB, free: 84 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/6.237, allocations: 4 kB / 3.218 GB, free: 84 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.802e-05/6.237, allocations: 180.3 kB / 3.218 GB, free: 83.81 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/6.237, allocations: 108.9 kB / 3.218 GB, free: 83.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/6.237, allocations: 116.6 kB / 3.218 GB, free: 83.58 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/6.237, allocations: 184.2 kB / 3.218 GB, free: 83.39 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-05/6.237, allocations: 176.3 kB / 3.218 GB, free: 83.21 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-05/6.237, allocations: 184.2 kB / 3.219 GB, free: 83.03 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/6.238, allocations: 441.7 kB / 3.219 GB, free: 82.55 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-05/6.238, allocations: 101 kB / 3.219 GB, free: 82.45 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/6.238, allocations: 105 kB / 3.219 GB, free: 82.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.118e-05/6.238, allocations: 184.2 kB / 3.219 GB, free: 82.15 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/6.238, allocations: 181.9 kB / 3.22 GB, free: 81.96 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-05/6.238, allocations: 176.3 kB / 3.22 GB, free: 81.79 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.038e-05/6.238, allocations: 184.2 kB / 3.22 GB, free: 81.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.875e-05/6.238, allocations: 319.6 kB / 3.22 GB, free: 81.26 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003225/6.238, allocations: 0.7071 MB / 3.221 GB, free: 80.53 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/6.238, allocations: 190 kB / 3.221 GB, free: 80.32 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/6.238, allocations: 188.2 kB / 3.221 GB, free: 80.12 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/6.238, allocations: 105.3 kB / 3.221 GB, free: 80.02 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/6.238, allocations: 180.2 kB / 3.222 GB, free: 79.83 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/6.238, allocations: 109 kB / 3.222 GB, free: 79.72 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.125e-05/6.239, allocations: 114 kB / 3.222 GB, free: 79.61 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001446/6.24, allocations: 247.7 kB / 3.222 GB, free: 79.37 MB / 1.151 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.001695/6.242, allocations: 1.492 MB / 3.224 GB, free: 77.83 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 7.829e-05/6.242, allocations: 11.94 kB / 3.224 GB, free: 77.82 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/6.242, allocations: 0 / 3.224 GB, free: 77.82 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/6.242, allocations: 0 / 3.224 GB, free: 77.82 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/6.242, allocations: 0.5266 MB / 3.224 GB, free: 77.29 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/6.242, allocations: 235 kB / 3.224 GB, free: 77.03 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/6.243, allocations: 0.7464 MB / 3.225 GB, free: 76.26 MB / 1.151 GB Notification: Performance of SimCode: time 5.41e-07/6.243, allocations: 0 / 3.225 GB, free: 76.26 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat does not exist to compare? outputFormat=mat