Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.24/2.24, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.001507/0.001508, allocations: 186.6 kB / 490.8 MB, free: 1.965 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.534/1.534, allocations: 221.4 MB / 0.7863 GB, free: 13.69 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.001142/0.001142, allocations: 92.61 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7062/0.7074, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/1.011, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.443/6.454, allocations: 2.173 GB / 3.385 GB, free: 108.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/6.454, allocations: 88.03 kB / 3.385 GB, free: 108.9 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 (3) 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 (3) 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 (3) 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 (3) 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 (3) 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 (3) 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 (3) 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 (3) 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 1.374/7.829, allocations: 329.3 MB / 3.706 GB, free: 239.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.739e-05/7.829, allocations: 8 kB / 3.706 GB, free: 239.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/7.829, allocations: 31.62 kB / 3.706 GB, free: 239.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/7.829, allocations: 266.6 kB / 3.707 GB, free: 239.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/7.829, allocations: 8 kB / 3.707 GB, free: 239.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/7.829, allocations: 19.94 kB / 3.707 GB, free: 239.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002647/7.83, allocations: 105.2 kB / 3.707 GB, free: 239.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/7.83, allocations: 311.3 kB / 3.707 GB, free: 239.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/7.83, allocations: 0 / 3.707 GB, free: 239.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/7.83, allocations: 0 / 3.707 GB, free: 239.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/7.83, allocations: 8 kB / 3.707 GB, free: 239.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/7.832, allocations: 1.719 MB / 3.709 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 8.497e-05/7.832, allocations: 165.1 kB / 3.709 GB, free: 237.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/7.832, allocations: 80.14 kB / 3.709 GB, free: 237 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/7.832, allocations: 79.28 kB / 3.709 GB, free: 236.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/7.832, allocations: 113.8 kB / 3.709 GB, free: 236.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.944e-06/7.832, allocations: 0 / 3.709 GB, free: 236.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 0.0001094/7.832, allocations: 45.44 kB / 3.709 GB, free: 236.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/7.832, allocations: 51.41 kB / 3.709 GB, free: 236.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/7.832, allocations: 135.6 kB / 3.709 GB, free: 236.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/7.832, allocations: 25.7 kB / 3.709 GB, free: 236.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/7.832, allocations: 183.6 kB / 3.71 GB, free: 236.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/7.832, allocations: 0 / 3.71 GB, free: 236.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/7.832, allocations: 7.938 kB / 3.71 GB, free: 236.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001438/7.833, allocations: 327.1 kB / 3.71 GB, free: 236 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/7.833, allocations: 4 kB / 3.71 GB, free: 236 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.85e-05/7.833, allocations: 32.3 kB / 3.71 GB, free: 235.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.526e-05/7.833, allocations: 15.92 kB / 3.71 GB, free: 235.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/7.833, allocations: 0 / 3.71 GB, free: 235.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002042/7.833, allocations: 65.47 kB / 3.71 GB, free: 235.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/7.833, allocations: 10.97 kB / 3.71 GB, free: 235.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/7.833, allocations: 0 / 3.71 GB, free: 235.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/7.833, allocations: 0 / 3.71 GB, free: 235.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/7.833, allocations: 8 kB / 3.71 GB, free: 235.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/7.833, allocations: 4 kB / 3.71 GB, free: 235.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.967e-05/7.833, allocations: 8.062 kB / 3.71 GB, free: 235.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/7.833, allocations: 4 kB / 3.71 GB, free: 235.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0001199/7.833, allocations: 180.2 kB / 3.71 GB, free: 235.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-05/7.833, allocations: 109.5 kB / 3.71 GB, free: 235.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.824e-05/7.833, allocations: 121.4 kB / 3.71 GB, free: 235.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.391e-05/7.834, allocations: 180.3 kB / 3.711 GB, free: 235.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.915e-05/7.834, allocations: 188.2 kB / 3.711 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.523e-05/7.834, allocations: 180.2 kB / 3.711 GB, free: 234.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/7.834, allocations: 445.7 kB / 3.711 GB, free: 234.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.297e-05/7.834, allocations: 105 kB / 3.711 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.055e-05/7.834, allocations: 113 kB / 3.712 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-05/7.834, allocations: 176.3 kB / 3.712 GB, free: 234 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.262e-05/7.834, allocations: 184.2 kB / 3.712 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-05/7.834, allocations: 182.1 kB / 3.712 GB, free: 233.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.882e-05/7.834, allocations: 180.2 kB / 3.712 GB, free: 233.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000139/7.835, allocations: 311.6 kB / 3.713 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004964/7.835, allocations: 0.7187 MB / 3.713 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.764e-05/7.835, allocations: 190 kB / 3.713 GB, free: 232.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/7.835, allocations: 184.2 kB / 3.714 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/7.835, allocations: 101 kB / 3.714 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/7.835, allocations: 180.3 kB / 3.714 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/7.836, allocations: 105 kB / 3.714 GB, free: 231.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.929e-05/7.836, allocations: 119.9 kB / 3.714 GB, free: 231.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001372/7.837, allocations: 263.5 kB / 3.714 GB, free: 231.2 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.002061/7.839, allocations: 1.486 MB / 3.716 GB, free: 229.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 9.938e-05/7.839, allocations: 15.98 kB / 3.716 GB, free: 229.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/7.839, allocations: 0 / 3.716 GB, free: 229.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/7.839, allocations: 7.875 kB / 3.716 GB, free: 229.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/7.84, allocations: 0.5233 MB / 3.716 GB, free: 229.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/7.84, allocations: 287.7 kB / 3.717 GB, free: 228.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/7.84, allocations: 0.766 MB / 3.717 GB, free: 228 MB / 1.151 GB Notification: Performance of SimCode: time 2.21e-07/7.84, allocations: 4 kB / 3.717 GB, free: 228 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat does not exist to compare? outputFormat=mat