Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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.23/2.23, 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.001207/0.001207, allocations: 177.3 kB / 490.8 MB, free: 1.926 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.668/1.668, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.0009952/0.0009954, allocations: 100.2 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.8001/0.8012, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/1.155, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.626/6.781, allocations: 2.162 GB / 3.374 GB, free: 146.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/6.781, allocations: 78.8 kB / 3.374 GB, free: 146.4 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$conAirNoC$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$conAirNoC$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$conAirWithC$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$conAirWithC$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/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirNoC$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$conDryAirNoC$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$conDryAirWithC$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$conDryAirWithC$outlet$forward 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 1.208/7.989, allocations: 223.8 MB / 3.592 GB, free: 368.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/7.989, allocations: 12.44 kB / 3.592 GB, free: 368.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002777/7.99, allocations: 45.47 kB / 3.593 GB, free: 368.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/7.99, allocations: 263.6 kB / 3.593 GB, free: 368.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/7.99, allocations: 128.3 kB / 3.593 GB, free: 368 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/7.99, allocations: 15.94 kB / 3.593 GB, free: 368 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002993/7.99, allocations: 130.2 kB / 3.593 GB, free: 367.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/7.991, allocations: 255.5 kB / 3.593 GB, free: 367.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/7.991, allocations: 2.781 kB / 3.593 GB, free: 367.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/7.991, allocations: 0 / 3.593 GB, free: 367.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/7.991, allocations: 6.094 kB / 3.593 GB, free: 367.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/7.992, allocations: 1.521 MB / 3.595 GB, free: 366.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 6.925e-05/7.992, allocations: 177.5 kB / 3.595 GB, free: 366.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/7.992, allocations: 85.39 kB / 3.595 GB, free: 366 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/7.992, allocations: 75.28 kB / 3.595 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/7.992, allocations: 111.2 kB / 3.595 GB, free: 365.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.093e-06/7.992, allocations: 3.719 kB / 3.595 GB, free: 365.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 8.77e-05/7.993, allocations: 35.98 kB / 3.595 GB, free: 365.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/7.993, allocations: 51.41 kB / 3.595 GB, free: 365.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/7.993, allocations: 203.6 kB / 3.595 GB, free: 365.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/7.993, allocations: 25.7 kB / 3.596 GB, free: 365.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/7.993, allocations: 194.6 kB / 3.596 GB, free: 365.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-06/7.993, allocations: 1.656 kB / 3.596 GB, free: 365.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-06/7.993, allocations: 0 / 3.596 GB, free: 365.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/7.993, allocations: 329.3 kB / 3.596 GB, free: 365.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.845e-05/7.993, allocations: 40.22 kB / 3.596 GB, free: 365 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/7.993, allocations: 157.6 kB / 3.596 GB, free: 364.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/7.993, allocations: 67.27 kB / 3.596 GB, free: 364.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/7.993, allocations: 0 / 3.596 GB, free: 364.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003517/7.994, allocations: 179.2 kB / 3.596 GB, free: 364.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/7.994, allocations: 8.266 kB / 3.596 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/7.994, allocations: 5.375 kB / 3.596 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/7.994, allocations: 6.156 kB / 3.596 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/7.994, allocations: 40.83 kB / 3.596 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/7.994, allocations: 18.31 kB / 3.597 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/7.994, allocations: 24.41 kB / 3.597 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/7.994, allocations: 10.09 kB / 3.597 GB, free: 364.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.456e-05/7.994, allocations: 189.2 kB / 3.597 GB, free: 364.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/7.994, allocations: 111.1 kB / 3.597 GB, free: 364.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/7.995, allocations: 122.2 kB / 3.597 GB, free: 364.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.563e-05/7.995, allocations: 184.5 kB / 3.597 GB, free: 364.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-05/7.995, allocations: 180.2 kB / 3.597 GB, free: 363.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.234e-05/7.995, allocations: 181.3 kB / 3.597 GB, free: 363.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/7.995, allocations: 452.5 kB / 3.598 GB, free: 363.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.543e-05/7.995, allocations: 101 kB / 3.598 GB, free: 363.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/7.995, allocations: 102.3 kB / 3.598 GB, free: 363.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.038e-05/7.995, allocations: 189.4 kB / 3.598 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/7.995, allocations: 179.9 kB / 3.598 GB, free: 362.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.87e-05/7.995, allocations: 181.5 kB / 3.599 GB, free: 362.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-05/7.995, allocations: 183.1 kB / 3.599 GB, free: 362.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000117/7.995, allocations: 316.3 kB / 3.599 GB, free: 362 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003241/7.996, allocations: 0.7087 MB / 3.6 GB, free: 361.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.64e-05/7.996, allocations: 194.8 kB / 3.6 GB, free: 361.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.033e-05/7.996, allocations: 185.2 kB / 3.6 GB, free: 360.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/7.996, allocations: 105.8 kB / 3.6 GB, free: 360.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/7.996, allocations: 185.4 kB / 3.6 GB, free: 360.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/7.996, allocations: 106.2 kB / 3.601 GB, free: 360.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001357/7.996, allocations: 155.2 kB / 3.601 GB, free: 360.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001308/7.997, allocations: 207.6 kB / 3.601 GB, free: 360.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.001705/7.999, allocations: 1.159 MB / 3.602 GB, free: 359.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001946/7.999, allocations: 72.94 kB / 3.602 GB, free: 359.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/7.999, allocations: 0 / 3.602 GB, free: 359.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.659e-06/7.999, allocations: 1.719 kB / 3.602 GB, free: 359.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/8, allocations: 0.5334 MB / 3.603 GB, free: 359.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/8, allocations: 258.2 kB / 3.603 GB, free: 359 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003153/8.001, allocations: 0.7636 MB / 3.604 GB, free: 358.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.293e-06/8.001, allocations: 0 / 3.604 GB, free: 358.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat does not exist to compare? outputFormat=mat