Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.201/2.201, allocations: 390.4 MB / 397.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 191.7 kB / 490.8 MB, free: 1.902 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.56/1.56, allocations: 221.4 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 84.17 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7483/0.7494, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/1.064, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.587/6.651, allocations: 2.176 GB / 3.387 GB, free: 135 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004064/6.651, allocations: 86.91 kB / 3.387 GB, free: 134.9 MB / 1.151 GB [/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/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/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/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/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/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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 1.068/7.719, allocations: 141.9 MB / 3.526 GB, free: 366.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/7.72, allocations: 11.66 kB / 3.526 GB, free: 366.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.202e-05/7.72, allocations: 29.83 kB / 3.526 GB, free: 366.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/7.72, allocations: 259.8 kB / 3.526 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/7.72, allocations: 10.56 kB / 3.526 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/7.72, allocations: 14.72 kB / 3.526 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001936/7.72, allocations: 86.45 kB / 3.526 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/7.721, allocations: 293.1 kB / 3.527 GB, free: 365.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/7.721, allocations: 10.84 kB / 3.527 GB, free: 365.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/7.721, allocations: 0 / 3.527 GB, free: 365.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/7.721, allocations: 11.77 kB / 3.527 GB, free: 365.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/7.722, allocations: 1.877 MB / 3.528 GB, free: 364.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 7.819e-05/7.722, allocations: 173.5 kB / 3.529 GB, free: 363.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/7.722, allocations: 80.14 kB / 3.529 GB, free: 363.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/7.722, allocations: 75.28 kB / 3.529 GB, free: 363.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/7.722, allocations: 112.1 kB / 3.529 GB, free: 363.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/7.722, allocations: 0 / 3.529 GB, free: 363.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 9.032e-05/7.722, allocations: 40.77 kB / 3.529 GB, free: 363.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/7.722, allocations: 54.84 kB / 3.529 GB, free: 363.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/7.722, allocations: 144.8 kB / 3.529 GB, free: 363.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/7.723, allocations: 25.7 kB / 3.529 GB, free: 363.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/7.723, allocations: 170.8 kB / 3.529 GB, free: 363.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-06/7.723, allocations: 3.844 kB / 3.529 GB, free: 363.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/7.723, allocations: 0 / 3.529 GB, free: 363.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.565e-05/7.723, allocations: 321.1 kB / 3.53 GB, free: 363 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/7.723, allocations: 7.5 kB / 3.53 GB, free: 363 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.263e-05/7.723, allocations: 56.45 kB / 3.53 GB, free: 362.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.621e-05/7.723, allocations: 17.72 kB / 3.53 GB, free: 362.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/7.723, allocations: 0 / 3.53 GB, free: 362.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001678/7.723, allocations: 82.94 kB / 3.53 GB, free: 362.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/7.723, allocations: 7.594 kB / 3.53 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/7.723, allocations: 2.188 kB / 3.53 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/7.723, allocations: 3.719 kB / 3.53 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/7.723, allocations: 14.78 kB / 3.53 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/7.723, allocations: 9.875 kB / 3.53 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/7.723, allocations: 11.73 kB / 3.53 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/7.723, allocations: 6.953 kB / 3.53 GB, free: 362.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.667e-05/7.723, allocations: 176.3 kB / 3.53 GB, free: 362.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/7.723, allocations: 123 kB / 3.53 GB, free: 362.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/7.723, allocations: 117.3 kB / 3.53 GB, free: 362.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.13e-05/7.724, allocations: 180.1 kB / 3.53 GB, free: 362.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.517e-05/7.724, allocations: 177.7 kB / 3.531 GB, free: 362.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.357e-05/7.724, allocations: 182.8 kB / 3.531 GB, free: 361.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/7.724, allocations: 441.1 kB / 3.531 GB, free: 361.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/7.724, allocations: 104.8 kB / 3.531 GB, free: 361.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/7.724, allocations: 103.2 kB / 3.531 GB, free: 361.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-05/7.724, allocations: 182.2 kB / 3.531 GB, free: 361.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.282e-05/7.724, allocations: 176.3 kB / 3.532 GB, free: 361 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-05/7.724, allocations: 185.4 kB / 3.532 GB, free: 360.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.841e-05/7.724, allocations: 183.9 kB / 3.532 GB, free: 360.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001025/7.724, allocations: 314 kB / 3.532 GB, free: 360.3 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002787/7.725, allocations: 0.6974 MB / 3.533 GB, free: 359.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/7.725, allocations: 189.1 kB / 3.533 GB, free: 359.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/7.725, allocations: 180 kB / 3.533 GB, free: 359.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/7.725, allocations: 107 kB / 3.533 GB, free: 359.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/7.725, allocations: 187.8 kB / 3.534 GB, free: 358.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/7.725, allocations: 104.7 kB / 3.534 GB, free: 358.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.992e-05/7.725, allocations: 124.1 kB / 3.534 GB, free: 358.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001092/7.726, allocations: 131 kB / 3.534 GB, free: 358.7 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.000923/7.727, allocations: 0.7422 MB / 3.535 GB, free: 358.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 9.41e-05/7.727, allocations: 20.25 kB / 3.535 GB, free: 358.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/7.727, allocations: 0 / 3.535 GB, free: 358.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/7.727, allocations: 0 / 3.535 GB, free: 358.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/7.727, allocations: 0.5296 MB / 3.535 GB, free: 358 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/7.728, allocations: 279.5 kB / 3.535 GB, free: 357.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/7.728, allocations: 0.7662 MB / 3.536 GB, free: 357.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.31e-07/7.728, allocations: 0 / 3.536 GB, free: 357.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat does not exist to compare? outputFormat=mat