Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.091/2.091, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001094/0.001094, allocations: 184.4 kB / 487 MB, free: 5.395 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.517/1.517, allocations: 221.3 MB / 0.7819 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009413/0.0009414, allocations: 110.4 kB / 0.9213 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6796/0.6806, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.998, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.09/6.088, allocations: 2.175 GB / 3.38 GB, free: 47.53 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/6.088, allocations: 78.27 kB / 3.38 GB, free: 47.49 MB / 1.135 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.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 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/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 0.8562/6.945, allocations: 141.9 MB / 3.519 GB, free: 357.9 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/6.945, allocations: 8 kB / 3.519 GB, free: 357.9 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.737e-05/6.945, allocations: 27.72 kB / 3.519 GB, free: 357.9 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/6.945, allocations: 268.5 kB / 3.519 GB, free: 357.6 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/6.945, allocations: 8 kB / 3.519 GB, free: 357.6 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/6.945, allocations: 12 kB / 3.519 GB, free: 357.6 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001763/6.945, allocations: 84.86 kB / 3.519 GB, free: 357.5 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/6.946, allocations: 295.5 kB / 3.519 GB, free: 357.1 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/6.946, allocations: 3.938 kB / 3.519 GB, free: 357.1 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/6.946, allocations: 3.984 kB / 3.519 GB, free: 357.1 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/6.946, allocations: 8 kB / 3.519 GB, free: 357.1 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009357/6.947, allocations: 1.884 MB / 3.521 GB, free: 355.1 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 4.471e-05/6.947, allocations: 169.1 kB / 3.521 GB, free: 355 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/6.947, allocations: 84.14 kB / 3.522 GB, free: 354.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/6.947, allocations: 79.19 kB / 3.522 GB, free: 354.8 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/6.947, allocations: 109.8 kB / 3.522 GB, free: 354.7 MB / 1.135 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/6.947, allocations: 0 / 3.522 GB, free: 354.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=0): time 7.912e-05/6.947, allocations: 37.55 kB / 3.522 GB, free: 354.6 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.758e-05/6.947, allocations: 55.34 kB / 3.522 GB, free: 354.6 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/6.947, allocations: 150.1 kB / 3.522 GB, free: 354.4 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-06/6.947, allocations: 25.7 kB / 3.522 GB, free: 354.4 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/6.947, allocations: 171.4 kB / 3.522 GB, free: 354.2 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/6.947, allocations: 0 / 3.522 GB, free: 354.2 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/6.947, allocations: 0 / 3.522 GB, free: 354.2 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 5.265e-05/6.947, allocations: 326.7 kB / 3.522 GB, free: 353.9 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/6.947, allocations: 4 kB / 3.522 GB, free: 353.9 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/6.947, allocations: 58.86 kB / 3.523 GB, free: 353.8 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/6.947, allocations: 15.94 kB / 3.523 GB, free: 353.8 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/6.947, allocations: 224 / 3.523 GB, free: 353.8 MB / 1.135 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001353/6.947, allocations: 77.47 kB / 3.523 GB, free: 353.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/6.947, allocations: 15.92 kB / 3.523 GB, free: 353.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/6.947, allocations: 0 / 3.523 GB, free: 353.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/6.947, allocations: 4 kB / 3.523 GB, free: 353.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/6.947, allocations: 12 kB / 3.523 GB, free: 353.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/6.947, allocations: 3.938 kB / 3.523 GB, free: 353.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/6.948, allocations: 11.84 kB / 3.523 GB, free: 353.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/6.948, allocations: 8.25 kB / 3.523 GB, free: 353.7 MB / 1.135 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 5.606e-05/6.948, allocations: 181.7 kB / 3.523 GB, free: 353.5 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/6.948, allocations: 116.8 kB / 3.523 GB, free: 353.4 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/6.948, allocations: 121.4 kB / 3.523 GB, free: 353.2 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/6.948, allocations: 176.3 kB / 3.523 GB, free: 353 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.76e-05/6.948, allocations: 180.2 kB / 3.523 GB, free: 352.9 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.807e-05/6.948, allocations: 192.2 kB / 3.524 GB, free: 352.7 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/6.948, allocations: 441.6 kB / 3.524 GB, free: 352.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/6.948, allocations: 101 kB / 3.524 GB, free: 352.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.702e-05/6.948, allocations: 108.9 kB / 3.524 GB, free: 352 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-05/6.948, allocations: 176.3 kB / 3.524 GB, free: 351.8 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/6.948, allocations: 184.3 kB / 3.525 GB, free: 351.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.477e-05/6.948, allocations: 186 kB / 3.525 GB, free: 351.4 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.819e-05/6.948, allocations: 176.3 kB / 3.525 GB, free: 351.2 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.734e-05/6.948, allocations: 319.6 kB / 3.525 GB, free: 350.9 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001951/6.948, allocations: 0.6876 MB / 3.526 GB, free: 350.2 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/6.948, allocations: 197.8 kB / 3.526 GB, free: 350 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/6.949, allocations: 180.2 kB / 3.526 GB, free: 349.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/6.949, allocations: 105 kB / 3.526 GB, free: 349.7 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/6.949, allocations: 184.2 kB / 3.526 GB, free: 349.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/6.949, allocations: 101 kB / 3.527 GB, free: 349.4 MB / 1.135 GB Notification: Performance of sort global known variables: time 6.175e-05/6.949, allocations: 116.3 kB / 3.527 GB, free: 349.3 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001023/6.95, allocations: 131.7 kB / 3.527 GB, free: 349.1 MB / 1.135 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.0006995/6.95, allocations: 0.7395 MB / 3.528 GB, free: 348.5 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 7.938e-05/6.951, allocations: 24.38 kB / 3.528 GB, free: 348.4 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/6.951, allocations: 4.062 kB / 3.528 GB, free: 348.4 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/6.951, allocations: 0 / 3.528 GB, free: 348.4 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/6.951, allocations: 0.5341 MB / 3.528 GB, free: 347.9 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/6.951, allocations: 263.2 kB / 3.528 GB, free: 347.6 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/6.951, allocations: 0.766 MB / 3.529 GB, free: 346.8 MB / 1.135 GB Notification: Performance of SimCode: time 2.9e-07/6.951, allocations: 0 / 3.529 GB, free: 346.8 MB / 1.135 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat does not exist to compare? outputFormat=mat