Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",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.001195/0.001195, allocations: 185.2 kB / 8.52 MB, free: 1.824 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.15/1.15, allocations: 221.4 MB / 230.3 MB, free: 7.633 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.0009356/0.0009358, allocations: 80.73 kB / 281.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.194/0.194, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1949/0.3889, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.4858, allocations: 61.91 MB / 0.4942 GB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2582/0.744, allocations: 92.79 MB / 0.5848 GB, free: 3.941 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.7443, allocations: 95.77 kB / 0.5849 GB, free: 3.852 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.01889/0.7632, allocations: 7.076 MB / 0.5918 GB, free: 12.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.7632, allocations: 11.94 kB / 0.5918 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.7633, allocations: 27.62 kB / 0.5918 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.7635, allocations: 212.3 kB / 0.5921 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.7636, allocations: 8 kB / 0.5921 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.7636, allocations: 12 kB / 0.5921 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003162/0.7639, allocations: 208.8 kB / 0.5923 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.7642, allocations: 178.4 kB / 0.5924 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.7642, allocations: 0 / 0.5924 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.7642, allocations: 7.938 kB / 0.5924 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.7642, allocations: 11.91 kB / 0.5925 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009197/0.7652, allocations: 0.5571 MB / 0.593 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.7655, allocations: 90.66 kB / 0.5931 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.786e-05/0.7656, allocations: 24.92 kB / 0.5931 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.7656, allocations: 4 kB / 0.5931 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.7656, allocations: 38.55 kB / 0.5932 GB, free: 11.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.7656, allocations: 0 / 0.5932 GB, free: 11.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002562/0.7659, allocations: 101.5 kB / 0.5932 GB, free: 11.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.7659, allocations: 51.41 kB / 0.5933 GB, free: 11.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.7661, allocations: 159 kB / 0.5935 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.7661, allocations: 29.7 kB / 0.5935 GB, free: 10.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.187e-05/0.7662, allocations: 171.5 kB / 0.5936 GB, free: 10.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.7662, allocations: 31.5 kB / 0.5937 GB, free: 10.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.7663, allocations: 0 / 0.5937 GB, free: 10.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.7664, allocations: 330.8 kB / 0.594 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.326e-05/0.7665, allocations: 35.94 kB / 0.594 GB, free: 10.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.7666, allocations: 128.8 kB / 0.5941 GB, free: 10.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.7667, allocations: 59.75 kB / 0.5942 GB, free: 10.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.7667, allocations: 8 kB / 0.5942 GB, free: 10.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003206/0.767, allocations: 173.2 kB / 0.5944 GB, free: 9.891 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7671, allocations: 8 kB / 0.5944 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.7671, allocations: 4 kB / 0.5944 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.7671, allocations: 4.438 kB / 0.5944 GB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.7675, allocations: 91.88 kB / 0.5945 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007532/0.7683, allocations: 1.231 MB / 0.5957 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.7685, allocations: 27.75 kB / 0.5957 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.7686, allocations: 8 kB / 0.5957 GB, free: 8.473 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.336e-05/0.7687, allocations: 116.8 kB / 0.5958 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.7687, allocations: 15.81 kB / 0.5958 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.7691, allocations: 154.9 kB / 0.596 GB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.7691, allocations: 4 kB / 0.596 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7691, allocations: 0 / 0.596 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7691, allocations: 0 / 0.596 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.7695, allocations: 393.3 kB / 0.5964 GB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.7695, allocations: 4 kB / 0.5964 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.7698, allocations: 59.91 kB / 0.5964 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.7699, allocations: 4 kB / 0.5964 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.7699, allocations: 3.984 kB / 0.5964 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006663/0.7706, allocations: 1.219 MB / 0.5976 GB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.7706, allocations: 3.984 kB / 0.5976 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002438/0.7708, allocations: 236.6 kB / 0.5979 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003022/0.7711, allocations: 0.6102 MB / 0.5985 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.7712, allocations: 92.92 kB / 0.5985 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.7712, allocations: 0 / 0.5985 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.7714, allocations: 11.98 kB / 0.5986 GB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.7715, allocations: 7.984 kB / 0.5986 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.7715, allocations: 4 kB / 0.5986 GB, free: 5.344 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.66e-05/0.7716, allocations: 133.5 kB / 0.5987 GB, free: 5.215 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009847/0.7726, allocations: 75.77 kB / 0.5988 GB, free: 5.141 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * 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): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003382/0.7729, allocations: 175.1 kB / 0.5989 GB, free: 4.961 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004592/0.7734, allocations: 136 kB / 0.5991 GB, free: 4.828 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7734, allocations: 4.812 kB / 0.5991 GB, free: 4.824 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.7737, allocations: 72.03 kB / 0.5991 GB, free: 4.754 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.7739, allocations: 15.98 kB / 0.5991 GB, free: 4.738 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005728/0.7745, allocations: 217.3 kB / 0.5994 GB, free: 4.488 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/0.7749, allocations: 0.7588 MB / 0.6001 GB, free: 3.703 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.7749, allocations: 0 / 0.6001 GB, free: 3.703 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat