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.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,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.001613/0.001613, allocations: 182.3 kB / 8.52 MB, free: 1.836 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.177/1.177, allocations: 221.4 MB / 230.3 MB, free: 7.711 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.0008504/0.0008504, allocations: 80.73 kB / 281.2 MB, free: 5.477 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.1631/0.1631, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.185/0.3481, allocations: 68.05 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.4472, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2626/0.7099, allocations: 94.78 MB / 0.5868 GB, free: 1.965 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.7102, allocations: 99.73 kB / 0.5869 GB, free: 1.875 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0212/0.7314, allocations: 8.09 MB / 0.5948 GB, free: 9.734 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.7314, allocations: 15.94 kB / 0.5948 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.7315, allocations: 23.72 kB / 0.5948 GB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.7317, allocations: 203.4 kB / 0.595 GB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.7318, allocations: 15.84 kB / 0.595 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.7318, allocations: 8 kB / 0.595 GB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001869/0.732, allocations: 112.3 kB / 0.5951 GB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.7322, allocations: 166.7 kB / 0.5953 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.7322, allocations: 3.938 kB / 0.5953 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.7323, allocations: 0 / 0.5953 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.7323, allocations: 8 kB / 0.5953 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007293/0.733, allocations: 0.5132 MB / 0.5958 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.784e-05/0.7331, allocations: 46.56 kB / 0.5958 GB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.7332, allocations: 20.92 kB / 0.5959 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.7332, allocations: 0 / 0.5959 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.7332, allocations: 38.47 kB / 0.5959 GB, free: 8.465 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.7332, allocations: 0 / 0.5959 GB, free: 8.465 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002037/0.7335, allocations: 73.58 kB / 0.596 GB, free: 8.387 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.7335, allocations: 55.39 kB / 0.596 GB, free: 8.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.7337, allocations: 165.7 kB / 0.5962 GB, free: 8.152 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.7337, allocations: 25.7 kB / 0.5962 GB, free: 8.121 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.7337, allocations: 167.4 kB / 0.5964 GB, free: 7.953 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.7338, allocations: 11.81 kB / 0.5964 GB, free: 7.941 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.7338, allocations: 4 kB / 0.5964 GB, free: 7.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.7339, allocations: 322.7 kB / 0.5967 GB, free: 7.613 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-05/0.7339, allocations: 24 kB / 0.5967 GB, free: 7.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.03e-05/0.734, allocations: 112.8 kB / 0.5968 GB, free: 7.434 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.583e-05/0.7341, allocations: 43.97 kB / 0.5968 GB, free: 7.391 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7341, allocations: 0 / 0.5968 GB, free: 7.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002342/0.7343, allocations: 149.2 kB / 0.597 GB, free: 7.238 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.7344, allocations: 7.984 kB / 0.597 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.7344, allocations: 12 kB / 0.597 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.7344, allocations: 4 kB / 0.597 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.7346, allocations: 40.36 kB / 0.5971 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.7346, allocations: 7.984 kB / 0.5971 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.7347, allocations: 23.78 kB / 0.5971 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.7347, allocations: 8 kB / 0.5971 GB, free: 7.137 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.124e-05/0.7348, allocations: 112.9 kB / 0.5972 GB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.7349, allocations: 11.81 kB / 0.5972 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.7352, allocations: 138.4 kB / 0.5973 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.7352, allocations: 3.938 kB / 0.5973 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7352, allocations: 3.984 kB / 0.5974 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.7352, allocations: 0 / 0.5974 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.7354, allocations: 190.2 kB / 0.5975 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/0.7354, allocations: 11.98 kB / 0.5975 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.498e-05/0.7355, allocations: 15.98 kB / 0.5976 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.7355, allocations: 4.047 kB / 0.5976 GB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.7355, allocations: 4 kB / 0.5976 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.7355, allocations: 0 / 0.5976 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7355, allocations: 3.984 kB / 0.5976 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001868/0.7357, allocations: 171.4 kB / 0.5977 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002874/0.736, allocations: 0.5505 MB / 0.5983 GB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.7361, allocations: 88.92 kB / 0.5984 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.7361, allocations: 0 / 0.5984 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.7362, allocations: 11.98 kB / 0.5984 GB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.7363, allocations: 4 kB / 0.5984 GB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.7363, allocations: 8 kB / 0.5984 GB, free: 5.711 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.703e-05/0.7364, allocations: 128 kB / 0.5985 GB, free: 5.586 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009839/0.7373, allocations: 87.69 kB / 0.5986 GB, free: 5.5 MB / 410.7 MB 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003936/0.7377, allocations: 205.3 kB / 0.5988 GB, free: 5.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000288/0.738, allocations: 152.1 kB / 0.5989 GB, free: 5.129 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7381, allocations: 0 / 0.5989 GB, free: 5.129 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.7382, allocations: 89.34 kB / 0.599 GB, free: 5.031 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.7384, allocations: 15.86 kB / 0.599 GB, free: 5.016 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.7389, allocations: 191.7 kB / 0.5992 GB, free: 4.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.7393, allocations: 0.7448 MB / 0.5999 GB, free: 4.035 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7393, allocations: 0 / 0.5999 GB, free: 4.035 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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_res.mat does not exist to compare? outputFormat=mat