Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.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.testTableGain,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testTableGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testTableGain,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testTableGain",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.001329/0.001329, allocations: 181.6 kB / 7.459 MB, free: 1.543 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.4 MB / 229.3 MB, free: 8.453 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009218/0.0009217, allocations: 98.89 kB / 280.1 MB, free: 7.812 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.08702/0.08702, allocations: 20.17 MB / 351.1 MB, free: 0.8789 MB / 290.8 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 0.8125/0.8125, allocations: 127.6 MB / 0.5229 GB, free: 8.34 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.5243/1.337, allocations: 89.72 MB / 0.6105 GB, free: 40.35 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/1.52, allocations: 82.84 MB / 0.6914 GB, free: 14.3 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/1.69, allocations: 121 MB / 0.8095 GB, free: 5.176 MB / 0.5496 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/1.69, allocations: 87.64 kB / 0.8096 GB, free: 5.094 MB / 0.5496 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.01113/1.701, allocations: 4.088 MB / 0.8136 GB, free: 0.9883 MB / 0.5496 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/1.701, allocations: 12 kB / 0.8136 GB, free: 0.9766 MB / 0.5496 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/1.702, allocations: 22.72 kB / 0.8136 GB, free: 0.957 MB / 0.5496 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/1.702, allocations: 255.7 kB / 0.8139 GB, free: 0.6641 MB / 0.5496 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/1.702, allocations: 4 kB / 0.8139 GB, free: 0.6602 MB / 0.5496 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/1.702, allocations: 4.625 kB / 0.8139 GB, free: 0.6562 MB / 0.5496 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001263/1.702, allocations: 53.19 kB / 0.8139 GB, free: 0.6055 MB / 0.5496 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/1.702, allocations: 78.44 kB / 0.814 GB, free: 0.5234 MB / 0.5496 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/1.702, allocations: 0 / 0.814 GB, free: 0.5234 MB / 0.5496 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/1.702, allocations: 5.766 kB / 0.814 GB, free: 0.5195 MB / 0.5496 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/1.702, allocations: 4 kB / 0.814 GB, free: 0.5156 MB / 0.5496 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/1.703, allocations: 372.2 kB / 0.8144 GB, free: 120 kB / 0.5496 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/1.703, allocations: 83.95 kB / 0.8145 GB, free: 28 kB / 0.5496 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2446/1.948, allocations: 39.98 kB / 0.8145 GB, free: 163.1 MB / 0.5496 GB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/1.948, allocations: 3 kB / 0.8145 GB, free: 163.1 MB / 0.5496 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/1.948, allocations: 34.44 kB / 0.8145 GB, free: 163.1 MB / 0.5496 GB Notification: Performance of pre-optimization done (n=6): time 4.038e-06/1.948, allocations: 0 / 0.8145 GB, free: 163.1 MB / 0.5496 GB Notification: Performance of matching and sorting (n=6): time 0.0004225/1.948, allocations: 115 kB / 0.8146 GB, free: 163.1 MB / 0.5496 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/1.948, allocations: 55 kB / 0.8147 GB, free: 163 MB / 0.5496 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/1.949, allocations: 227.6 kB / 0.8149 GB, free: 162.9 MB / 0.5496 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/1.949, allocations: 26.45 kB / 0.8149 GB, free: 162.9 MB / 0.5496 GB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/1.949, allocations: 99.17 kB / 0.815 GB, free: 162.8 MB / 0.5496 GB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/1.949, allocations: 24.98 kB / 0.8151 GB, free: 162.8 MB / 0.5496 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/1.949, allocations: 2.906 kB / 0.8151 GB, free: 162.8 MB / 0.5496 GB Notification: Performance of setup shared object (initialization): time 8.737e-05/1.949, allocations: 331.1 kB / 0.8154 GB, free: 162.5 MB / 0.5496 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.555e-05/1.949, allocations: 29.14 kB / 0.8154 GB, free: 162.5 MB / 0.5496 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.857e-05/1.949, allocations: 34.22 kB / 0.8154 GB, free: 162.5 MB / 0.5496 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.783e-05/1.949, allocations: 37.55 kB / 0.8155 GB, free: 162.5 MB / 0.5496 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.949, allocations: 0 / 0.8155 GB, free: 162.5 MB / 0.5496 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002134/1.949, allocations: 118.6 kB / 0.8156 GB, free: 162.5 MB / 0.5496 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.949, allocations: 6.656 kB / 0.8156 GB, free: 162.5 MB / 0.5496 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.949, allocations: 1.031 kB / 0.8156 GB, free: 162.5 MB / 0.5496 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.949, allocations: 0 / 0.8156 GB, free: 162.5 MB / 0.5496 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/1.95, allocations: 20.52 kB / 0.8156 GB, free: 162.5 MB / 0.5496 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.95, allocations: 3.875 kB / 0.8156 GB, free: 162.5 MB / 0.5496 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/1.95, allocations: 11.81 kB / 0.8156 GB, free: 162.5 MB / 0.5496 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/1.95, allocations: 3.312 kB / 0.8156 GB, free: 162.5 MB / 0.5496 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (tableGain.table_block.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.17e-05/1.95, allocations: 116.5 kB / 0.8157 GB, free: 162.3 MB / 0.5496 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/1.95, allocations: 15.66 kB / 0.8158 GB, free: 162.3 MB / 0.5496 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/1.95, allocations: 143 kB / 0.8159 GB, free: 162.3 MB / 0.5496 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/1.95, allocations: 1.469 kB / 0.8159 GB, free: 162.3 MB / 0.5496 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.95, allocations: 2.078 kB / 0.8159 GB, free: 162.3 MB / 0.5496 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/1.95, allocations: 3.656 kB / 0.8159 GB, free: 162.3 MB / 0.5496 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/1.95, allocations: 210.5 kB / 0.8161 GB, free: 162.1 MB / 0.5496 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.95, allocations: 1.469 kB / 0.8161 GB, free: 162.1 MB / 0.5496 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.452e-05/1.951, allocations: 16.19 kB / 0.8161 GB, free: 162.1 MB / 0.5496 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/1.951, allocations: 4.969 kB / 0.8161 GB, free: 162.1 MB / 0.5496 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/1.951, allocations: 3.406 kB / 0.8161 GB, free: 162.1 MB / 0.5496 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.951, allocations: 0 / 0.8161 GB, free: 162.1 MB / 0.5496 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.951, allocations: 1.406 kB / 0.8161 GB, free: 162.1 MB / 0.5496 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002054/1.951, allocations: 213.1 kB / 0.8163 GB, free: 162 MB / 0.5496 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002453/1.951, allocations: 0.5907 MB / 0.8169 GB, free: 161.5 MB / 0.5496 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/1.951, allocations: 97.36 kB / 0.817 GB, free: 161.4 MB / 0.5496 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/1.951, allocations: 4.406 kB / 0.817 GB, free: 161.4 MB / 0.5496 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/1.951, allocations: 11.66 kB / 0.817 GB, free: 161.4 MB / 0.5496 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/1.951, allocations: 4.328 kB / 0.817 GB, free: 161.4 MB / 0.5496 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/1.951, allocations: 7.188 kB / 0.817 GB, free: 161.4 MB / 0.5496 GB Notification: Performance of sort global known variables: time 0.0001474/1.952, allocations: 185.1 kB / 0.8172 GB, free: 161.3 MB / 0.5496 GB Notification: Performance of remove unused functions: time 0.0008377/1.952, allocations: 34.39 kB / 0.8172 GB, free: 161.3 MB / 0.5496 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (tableGain.table_block.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008636/1.953, allocations: 293.9 kB / 0.8175 GB, free: 161.2 MB / 0.5496 GB Notification: Performance of simCode: created initialization part: time 0.0002182/1.953, allocations: 73.97 kB / 0.8176 GB, free: 161.2 MB / 0.5496 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.954, allocations: 1.688 kB / 0.8176 GB, free: 161.2 MB / 0.5496 GB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/1.954, allocations: 37.47 kB / 0.8176 GB, free: 161.2 MB / 0.5496 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/1.954, allocations: 26.39 kB / 0.8177 GB, free: 161.2 MB / 0.5496 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005947/1.955, allocations: 224.2 kB / 0.8179 GB, free: 161.1 MB / 0.5496 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/1.955, allocations: 0.7606 MB / 0.8186 GB, free: 160.4 MB / 0.5496 GB Notification: Performance of SimCode: time 2.31e-07/1.955, allocations: 0 / 0.8186 GB, free: 160.4 MB / 0.5496 GB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testTableGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_testTableGain.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testTableGain_res.mat does not exist to compare? outputFormat=mat