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_roundTube.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_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.001033/0.001033, allocations: 179.8 kB / 8.519 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.146/1.146, allocations: 221.4 MB / 230.3 MB, free: 7.801 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.0008791/0.0008791, allocations: 84.75 kB / 281.2 MB, free: 5.535 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.1583/0.1583, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1798/0.3381, allocations: 68.05 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.4329, allocations: 61.9 MB / 0.4942 GB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2737/0.7066, allocations: 99.67 MB / 0.5915 GB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.707, allocations: 95.77 kB / 0.5916 GB, free: 12.99 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.03277/0.7397, allocations: 10.66 MB / 0.602 GB, free: 2.285 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.7398, allocations: 11.94 kB / 0.602 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.7399, allocations: 23.72 kB / 0.6021 GB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.7401, allocations: 203.3 kB / 0.6023 GB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.7401, allocations: 11.91 kB / 0.6023 GB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.7401, allocations: 19.94 kB / 0.6023 GB, free: 1.977 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002372/0.7404, allocations: 112.8 kB / 0.6024 GB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.7407, allocations: 218.7 kB / 0.6026 GB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.7407, allocations: 0 / 0.6026 GB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.7407, allocations: 4 kB / 0.6026 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.7407, allocations: 4 kB / 0.6026 GB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009387/0.7417, allocations: 0.8575 MB / 0.6034 GB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.7418, allocations: 42.58 kB / 0.6035 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.541e-05/0.7418, allocations: 20.95 kB / 0.6035 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.7419, allocations: 7.938 kB / 0.6035 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.7419, allocations: 34.56 kB / 0.6035 GB, free: 0.582 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.7419, allocations: 7.938 kB / 0.6036 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002153/0.7421, allocations: 73.5 kB / 0.6036 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.7422, allocations: 51.41 kB / 0.6037 GB, free: 444 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.7423, allocations: 178 kB / 0.6038 GB, free: 256 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.7424, allocations: 25.7 kB / 0.6039 GB, free: 224 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.974e-05/0.7425, allocations: 179.3 kB / 0.604 GB, free: 40 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.7425, allocations: 23.73 kB / 0.6041 GB, free: 16 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.7425, allocations: 0 / 0.6041 GB, free: 16 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7426, allocations: 330.7 kB / 0.6044 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.855e-05/0.7427, allocations: 28.23 kB / 0.6044 GB, free: 15.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.7428, allocations: 168.2 kB / 0.6046 GB, free: 15.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.086e-05/0.7429, allocations: 55.91 kB / 0.6046 GB, free: 15.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7429, allocations: 4 kB / 0.6046 GB, free: 15.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003318/0.7433, allocations: 189.7 kB / 0.6048 GB, free: 15.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.7433, allocations: 12.03 kB / 0.6048 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.977e-05/0.7433, allocations: 12 kB / 0.6048 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.7434, allocations: 8 kB / 0.6048 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.7435, allocations: 51.91 kB / 0.6049 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.7436, allocations: 11.94 kB / 0.6049 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.7437, allocations: 39.67 kB / 0.6049 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.7438, allocations: 12 kB / 0.6049 GB, free: 15.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 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.653e-05/0.7438, allocations: 112.9 kB / 0.6051 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.7439, allocations: 11.81 kB / 0.6051 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.7442, allocations: 138.4 kB / 0.6052 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.7442, allocations: 0 / 0.6052 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7442, allocations: 4 kB / 0.6052 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.7442, allocations: 0 / 0.6052 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.7445, allocations: 194.1 kB / 0.6054 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/0.7445, allocations: 15.98 kB / 0.6054 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.7446, allocations: 19.94 kB / 0.6054 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.7446, allocations: 4.047 kB / 0.6054 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.7446, allocations: 0 / 0.6054 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.7446, allocations: 0 / 0.6054 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7446, allocations: 3.984 kB / 0.6054 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001782/0.7448, allocations: 175.3 kB / 0.6056 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002864/0.7451, allocations: 0.5504 MB / 0.6061 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.7452, allocations: 88.92 kB / 0.6062 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.7452, allocations: 3.984 kB / 0.6062 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.7453, allocations: 12 kB / 0.6062 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.7454, allocations: 3.984 kB / 0.6062 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.7454, allocations: 4 kB / 0.6062 GB, free: 13.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.949e-05/0.7455, allocations: 132.6 kB / 0.6064 GB, free: 13.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001094/0.7466, allocations: 119.8 kB / 0.6065 GB, free: 13.34 MB / 426.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.0005299/0.7471, allocations: 242.8 kB / 0.6067 GB, free: 13.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.7474, allocations: 162.6 kB / 0.6069 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7475, allocations: 0 / 0.6069 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.7476, allocations: 87.39 kB / 0.6069 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.7478, allocations: 8 kB / 0.607 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006354/0.7484, allocations: 215.5 kB / 0.6072 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.7488, allocations: 0.751 MB / 0.6079 GB, free: 11.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7489, allocations: 0 / 0.6079 GB, free: 11.82 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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_roundTube_res.mat does not exist to compare? outputFormat=mat