Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001139/0.001139, allocations: 202.1 kB / 8.543 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.165/1.165, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008533/0.0008535, allocations: 87.33 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1673/0.1673, allocations: 45.15 MB / 383.3 MB, free: 0.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2018/0.3692, allocations: 69.38 MB / 452.7 MB, free: 76.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08954/0.4587, allocations: 63.24 MB / 0.5039 GB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2789/0.7377, allocations: 93.95 MB / 0.5956 GB, free: 9.016 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.738, allocations: 94.89 kB / 0.5957 GB, free: 8.965 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.01934/0.7573, allocations: 7.187 MB / 0.6027 GB, free: 3.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.7574, allocations: 8 kB / 0.6027 GB, free: 3.012 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.7574, allocations: 23.72 kB / 0.6028 GB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.7577, allocations: 205.8 kB / 0.603 GB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.7577, allocations: 12 kB / 0.603 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.7577, allocations: 12 kB / 0.603 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002895/0.758, allocations: 208.9 kB / 0.6032 GB, free: 2.605 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.7583, allocations: 182.6 kB / 0.6034 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.7583, allocations: 0 / 0.6034 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.7583, allocations: 7.844 kB / 0.6034 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.7583, allocations: 15.92 kB / 0.6034 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008668/0.7592, allocations: 0.5524 MB / 0.6039 GB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.7595, allocations: 96.23 kB / 0.604 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.019e-05/0.7596, allocations: 27.86 kB / 0.604 GB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.7596, allocations: 3.984 kB / 0.604 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.7597, allocations: 38.45 kB / 0.6041 GB, free: 1.773 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.7597, allocations: 0 / 0.6041 GB, free: 1.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002717/0.7599, allocations: 96.06 kB / 0.6042 GB, free: 1.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.76, allocations: 59.41 kB / 0.6042 GB, free: 1.613 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.7601, allocations: 159.3 kB / 0.6044 GB, free: 1.465 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.7602, allocations: 25.7 kB / 0.6044 GB, free: 1.434 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.349e-05/0.7603, allocations: 173.7 kB / 0.6046 GB, free: 1.273 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.7603, allocations: 26.88 kB / 0.6046 GB, free: 1.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.7603, allocations: 0 / 0.6046 GB, free: 1.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.7604, allocations: 333.7 kB / 0.6049 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.7605, allocations: 34.75 kB / 0.6049 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.7607, allocations: 135 kB / 0.6051 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.729e-05/0.7608, allocations: 58.41 kB / 0.6051 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7608, allocations: 0 / 0.6051 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003356/0.7611, allocations: 178 kB / 0.6053 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.7611, allocations: 4 kB / 0.6053 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.7611, allocations: 4.703 kB / 0.6053 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.7612, allocations: 4 kB / 0.6053 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.7616, allocations: 92.31 kB / 0.6054 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007855/0.7624, allocations: 1.228 MB / 0.6066 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.7626, allocations: 23.75 kB / 0.6066 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.7626, allocations: 12 kB / 0.6066 GB, free: 15.14 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 8.907e-05/0.7627, allocations: 116.2 kB / 0.6067 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.7628, allocations: 15.81 kB / 0.6068 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.7631, allocations: 155.6 kB / 0.6069 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.7631, allocations: 3.938 kB / 0.6069 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.7631, allocations: 0 / 0.6069 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.7632, allocations: 3.906 kB / 0.6069 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.7636, allocations: 391 kB / 0.6073 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.7636, allocations: 4.062 kB / 0.6073 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.7639, allocations: 55.97 kB / 0.6073 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.764, allocations: 0 / 0.6073 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.764, allocations: 7.984 kB / 0.6074 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000739/0.7647, allocations: 1.223 MB / 0.6085 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7647, allocations: 0 / 0.6085 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002567/0.765, allocations: 238.1 kB / 0.6088 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003856/0.7654, allocations: 0.6082 MB / 0.6094 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.7655, allocations: 92.95 kB / 0.6095 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.7655, allocations: 3.938 kB / 0.6095 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.7657, allocations: 15.98 kB / 0.6095 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.7657, allocations: 7.984 kB / 0.6095 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.7658, allocations: 4 kB / 0.6095 GB, free: 12.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.592e-05/0.7659, allocations: 128.1 kB / 0.6096 GB, free: 12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000981/0.7668, allocations: 86.48 kB / 0.6097 GB, free: 11.92 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.0003472/0.7672, allocations: 179.1 kB / 0.6099 GB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004567/0.7677, allocations: 137.3 kB / 0.61 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7677, allocations: 0 / 0.61 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.768, allocations: 72.78 kB / 0.6101 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.7682, allocations: 14.67 kB / 0.6101 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.7687, allocations: 219.3 kB / 0.6103 GB, free: 11.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.7691, allocations: 0.7585 MB / 0.611 GB, free: 10.53 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.7692, allocations: 0 / 0.611 GB, free: 10.53 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat