Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo) 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) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax",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/Complex 4.0.0+maint.om/package.mo): time 0.004347/0.004347, allocations: 181.9 kB / 7.46 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.4 MB / 229.3 MB, free: 3.074 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001015, allocations: 101.1 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09073/0.09073, allocations: 20.16 MB / 351.1 MB, free: 10.33 MB / 298.7 MB [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Components/Sensors/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TinySensorGas_L1_O2dry [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/PressureLoss/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/HeatTransport/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/FluidVolumes/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: VolumeVLE_2 VolumeVLE_3_TwoZones Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 1.068/1.068, allocations: 127.6 MB / 0.5229 GB, free: 4.711 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.222/1.29, allocations: 89.72 MB / 0.6105 GB, free: 10.8 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5539/1.844, allocations: 82.83 MB / 0.6914 GB, free: 33.89 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1713/2.015, allocations: 118.6 MB / 0.8072 GB, free: 6.984 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/2.016, allocations: 91.84 kB / 0.8073 GB, free: 6.898 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00518/2.021, allocations: 1.618 MB / 0.8089 GB, free: 5.289 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/2.021, allocations: 8 kB / 0.8089 GB, free: 5.281 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/2.021, allocations: 7.906 kB / 0.8089 GB, free: 5.273 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/2.021, allocations: 195.4 kB / 0.8091 GB, free: 5.047 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/2.021, allocations: 0 / 0.8091 GB, free: 5.047 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/2.021, allocations: 11.84 kB / 0.8091 GB, free: 5.035 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001038/2.022, allocations: 30.88 kB / 0.8092 GB, free: 5.008 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/2.022, allocations: 60.77 kB / 0.8092 GB, free: 4.945 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/2.022, allocations: 1.219 kB / 0.8092 GB, free: 4.945 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/2.022, allocations: 0.5625 kB / 0.8092 GB, free: 4.945 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/2.022, allocations: 4.625 kB / 0.8092 GB, free: 4.941 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/2.022, allocations: 315.1 kB / 0.8095 GB, free: 4.602 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/2.023, allocations: 112.9 kB / 0.8096 GB, free: 4.488 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/2.023, allocations: 20.98 kB / 0.8096 GB, free: 4.465 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/2.023, allocations: 5.156 kB / 0.8097 GB, free: 4.461 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/2.023, allocations: 34.56 kB / 0.8097 GB, free: 4.418 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=5): time 2.204e-06/2.023, allocations: 5.156 kB / 0.8097 GB, free: 4.414 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5): time 0.0002082/2.023, allocations: 72.78 kB / 0.8098 GB, free: 4.34 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/2.023, allocations: 59.41 kB / 0.8098 GB, free: 4.27 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/2.023, allocations: 109.3 kB / 0.8099 GB, free: 4.152 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/2.023, allocations: 29.7 kB / 0.8099 GB, free: 4.117 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/2.023, allocations: 88.06 kB / 0.81 GB, free: 4.027 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/2.023, allocations: 19.72 kB / 0.8101 GB, free: 4.008 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/2.023, allocations: 0 / 0.8101 GB, free: 4.008 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001298/2.023, allocations: 326.3 kB / 0.8104 GB, free: 3.684 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.173e-05/2.024, allocations: 16 kB / 0.8104 GB, free: 3.668 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.654e-05/2.024, allocations: 16 kB / 0.8104 GB, free: 3.652 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/2.024, allocations: 16.78 kB / 0.8104 GB, free: 3.637 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/2.024, allocations: 0 / 0.8104 GB, free: 3.637 MB / 0.5418 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001326/2.024, allocations: 82.97 kB / 0.8105 GB, free: 3.551 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/2.024, allocations: 4 kB / 0.8105 GB, free: 3.547 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/2.024, allocations: 3.938 kB / 0.8105 GB, free: 3.543 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/2.024, allocations: 7.156 kB / 0.8105 GB, free: 3.539 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/2.024, allocations: 31.97 kB / 0.8105 GB, free: 3.508 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/2.024, allocations: 7.188 kB / 0.8105 GB, free: 3.504 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/2.024, allocations: 26.02 kB / 0.8106 GB, free: 3.48 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/2.024, allocations: 7.094 kB / 0.8106 GB, free: 3.477 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.041e-05/2.024, allocations: 108.8 kB / 0.8107 GB, free: 3.363 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/2.024, allocations: 7.906 kB / 0.8107 GB, free: 3.355 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/2.024, allocations: 8.969 kB / 0.8107 GB, free: 3.348 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/2.024, allocations: 3.375 kB / 0.8107 GB, free: 3.348 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/2.024, allocations: 4 kB / 0.8107 GB, free: 3.344 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/2.024, allocations: 3.906 kB / 0.8107 GB, free: 3.34 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/2.025, allocations: 158.8 kB / 0.8109 GB, free: 3.148 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/2.025, allocations: 0 / 0.8109 GB, free: 3.148 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/2.025, allocations: 35.56 kB / 0.8109 GB, free: 3.117 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/2.025, allocations: 0 / 0.8109 GB, free: 3.117 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/2.025, allocations: 0 / 0.8109 GB, free: 3.117 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/2.025, allocations: 5.953 kB / 0.8109 GB, free: 3.113 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/2.025, allocations: 5.25 kB / 0.8109 GB, free: 3.109 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002804/2.025, allocations: 197.1 kB / 0.8111 GB, free: 2.902 MB / 0.5418 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004268/2.025, allocations: 0.585 MB / 0.8117 GB, free: 2.301 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/2.026, allocations: 93.02 kB / 0.8117 GB, free: 2.191 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/2.026, allocations: 0 / 0.8117 GB, free: 2.191 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/2.026, allocations: 31.47 kB / 0.8118 GB, free: 2.164 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/2.026, allocations: 4 kB / 0.8118 GB, free: 2.16 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/2.026, allocations: 3.984 kB / 0.8118 GB, free: 2.156 MB / 0.5418 GB Notification: Performance of sort global known variables: time 0.0001299/2.026, allocations: 99.75 kB / 0.8119 GB, free: 2.059 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0007913/2.027, allocations: 12.72 kB / 0.8119 GB, free: 2.047 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (timeExtrema.ymax,timeExtrema.ymin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000232/2.027, allocations: 97.45 kB / 0.812 GB, free: 1.945 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0001823/2.027, allocations: 44 kB / 0.812 GB, free: 1.902 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/2.027, allocations: 0 / 0.812 GB, free: 1.902 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 6.235e-05/2.027, allocations: 29.73 kB / 0.8121 GB, free: 1.875 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/2.028, allocations: 10.47 kB / 0.8121 GB, free: 1.867 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/2.028, allocations: 132.9 kB / 0.8122 GB, free: 1.707 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/2.029, allocations: 0.7192 MB / 0.8129 GB, free: 0.9648 MB / 0.5418 GB Notification: Performance of SimCode: time 3.31e-07/2.029, allocations: 0 / 0.8129 GB, free: 0.9648 MB / 0.5418 GB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestMinMax.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat does not exist to compare? outputFormat=mat