Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.277/2.277, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001801/0.001801, allocations: 185.2 kB / 490.8 MB, free: 1.945 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.595/1.595, 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.001156/0.001156, allocations: 94.72 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7559/0.7571, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/1.108, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.648/6.756, allocations: 2.167 GB / 3.379 GB, free: 144 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/6.757, allocations: 82.91 kB / 3.379 GB, free: 143.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 (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 (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 (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 (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 (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/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 (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/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 (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 (1) 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.2701/7.027, allocations: 136.9 MB / 3.513 GB, free: 5.438 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/7.027, allocations: 11.98 kB / 3.513 GB, free: 5.426 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.551e-05/7.027, allocations: 27.72 kB / 3.513 GB, free: 5.398 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/7.027, allocations: 240.3 kB / 3.513 GB, free: 5.121 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/7.027, allocations: 8 kB / 3.513 GB, free: 5.113 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/7.028, allocations: 11.94 kB / 3.513 GB, free: 5.102 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001219/7.028, allocations: 40.62 kB / 3.513 GB, free: 5.062 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/7.028, allocations: 219.6 kB / 3.513 GB, free: 4.789 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/7.028, allocations: 0 / 3.513 GB, free: 4.789 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/7.028, allocations: 0 / 3.513 GB, free: 4.789 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/7.028, allocations: 11.91 kB / 3.513 GB, free: 4.777 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009216/7.029, allocations: 1.521 MB / 3.515 GB, free: 3.172 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 7.405e-05/7.029, allocations: 173.1 kB / 3.515 GB, free: 2.992 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/7.029, allocations: 80.14 kB / 3.515 GB, free: 2.91 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/7.029, allocations: 79.27 kB / 3.515 GB, free: 2.832 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/7.029, allocations: 109.8 kB / 3.515 GB, free: 2.715 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.422e-06/7.029, allocations: 0 / 3.515 GB, free: 2.715 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 9.977e-05/7.029, allocations: 38.39 kB / 3.515 GB, free: 2.672 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/7.029, allocations: 55.41 kB / 3.515 GB, free: 2.605 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/7.029, allocations: 139.8 kB / 3.515 GB, free: 2.457 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/7.029, allocations: 25.92 kB / 3.515 GB, free: 2.426 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/7.029, allocations: 151.2 kB / 3.515 GB, free: 2.273 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-06/7.029, allocations: 7.938 kB / 3.515 GB, free: 2.266 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-06/7.029, allocations: 4 kB / 3.515 GB, free: 2.262 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.613e-05/7.03, allocations: 322.8 kB / 3.516 GB, free: 1.938 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/7.03, allocations: 4 kB / 3.516 GB, free: 1.934 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/7.03, allocations: 42.02 kB / 3.516 GB, free: 1.871 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.113e-05/7.03, allocations: 12 kB / 3.516 GB, free: 1.859 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/7.03, allocations: 0 / 3.516 GB, free: 1.859 MB / 1.151 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000155/7.03, allocations: 73.45 kB / 3.516 GB, free: 1.781 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/7.03, allocations: 4 kB / 3.516 GB, free: 1.777 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/7.03, allocations: 8.219 kB / 3.516 GB, free: 1.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/7.03, allocations: 0 / 3.516 GB, free: 1.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/7.03, allocations: 15.94 kB / 3.516 GB, free: 1.754 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/7.03, allocations: 0 / 3.516 GB, free: 1.754 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/7.03, allocations: 11.84 kB / 3.516 GB, free: 1.742 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/7.03, allocations: 8 kB / 3.516 GB, free: 1.734 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.92e-05/7.03, allocations: 180.2 kB / 3.516 GB, free: 1.551 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/7.03, allocations: 128.7 kB / 3.516 GB, free: 1.418 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/7.03, allocations: 113.5 kB / 3.516 GB, free: 1.301 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.71e-05/7.03, allocations: 184.3 kB / 3.516 GB, free: 1.113 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.377e-05/7.03, allocations: 184.2 kB / 3.517 GB, free: 0.9258 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-05/7.03, allocations: 176.3 kB / 3.517 GB, free: 0.7461 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/7.031, allocations: 421.8 kB / 3.517 GB, free: 296 kB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/7.031, allocations: 104.9 kB / 3.517 GB, free: 184 kB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/7.031, allocations: 109 kB / 3.517 GB, free: 68 kB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5588/7.589, allocations: 179.7 kB / 3.518 GB, free: 0.4926 GB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/7.59, allocations: 187.1 kB / 3.518 GB, free: 0.4924 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.873e-05/7.59, allocations: 176.3 kB / 3.518 GB, free: 0.4922 GB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.445e-05/7.59, allocations: 183.7 kB / 3.518 GB, free: 0.4921 GB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002128/7.59, allocations: 310.7 kB / 3.518 GB, free: 0.4917 GB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004197/7.59, allocations: 0.7004 MB / 3.519 GB, free: 0.4911 GB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/7.591, allocations: 181.5 kB / 3.519 GB, free: 0.4909 GB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/7.591, allocations: 187.8 kB / 3.519 GB, free: 0.4907 GB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/7.591, allocations: 103.4 kB / 3.52 GB, free: 0.4906 GB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/7.591, allocations: 177.6 kB / 3.52 GB, free: 0.4904 GB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/7.591, allocations: 107.3 kB / 3.52 GB, free: 0.4903 GB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001453/7.591, allocations: 111.1 kB / 3.52 GB, free: 0.4903 GB / 1.151 GB Notification: Performance of remove unused functions: time 0.001253/7.592, allocations: 122.7 kB / 3.52 GB, free: 0.4903 GB / 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.001397/7.594, allocations: 0.7426 MB / 3.521 GB, free: 0.4901 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001835/7.594, allocations: 18.75 kB / 3.521 GB, free: 0.4901 GB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/7.594, allocations: 2.594 kB / 3.521 GB, free: 0.4901 GB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-06/7.594, allocations: 0 / 3.521 GB, free: 0.4901 GB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/7.594, allocations: 0.5221 MB / 3.521 GB, free: 0.4895 GB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/7.595, allocations: 218.8 kB / 3.521 GB, free: 0.4894 GB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004141/7.595, allocations: 0.7298 MB / 3.522 GB, free: 0.4887 GB / 1.151 GB Notification: Performance of SimCode: time 5.51e-07/7.595, allocations: 3.844 kB / 3.522 GB, free: 0.4887 GB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat does not exist to compare? outputFormat=mat