Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.001032/0.001032, allocations: 173.4 kB / 8.515 MB, free: 1.844 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.154/1.154, allocations: 221.4 MB / 230.3 MB, free: 7.766 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.001025/0.001025, allocations: 88.73 kB / 281.2 MB, free: 5.516 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.1503/0.1503, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1781/0.3285, allocations: 68.05 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09371/0.4222, allocations: 61.91 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2641/0.6863, allocations: 98.85 MB / 0.5907 GB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.6866, allocations: 98.89 kB / 0.5908 GB, free: 13.6 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.06439/0.751, allocations: 24.18 MB / 0.6144 GB, free: 5.246 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.7511, allocations: 11.94 kB / 0.6145 GB, free: 5.234 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.7512, allocations: 55.34 kB / 0.6145 GB, free: 5.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.7516, allocations: 314.2 kB / 0.6148 GB, free: 4.832 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.7516, allocations: 16 kB / 0.6148 GB, free: 4.816 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.7517, allocations: 36 kB / 0.6149 GB, free: 4.781 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008815/0.7526, allocations: 0.7014 MB / 0.6155 GB, free: 4.078 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008726/0.7534, allocations: 0.6558 MB / 0.6162 GB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.7535, allocations: 0 / 0.6162 GB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.7535, allocations: 3.906 kB / 0.6162 GB, free: 3.414 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.185e-05/0.7536, allocations: 49.28 kB / 0.6162 GB, free: 3.367 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.7558, allocations: 1.393 MB / 0.6176 GB, free: 1.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007395/0.7565, allocations: 0.553 MB / 0.6181 GB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.7568, allocations: 184.4 kB / 0.6183 GB, free: 1.184 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.7568, allocations: 11.97 kB / 0.6183 GB, free: 1.172 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.7569, allocations: 38.56 kB / 0.6184 GB, free: 1.125 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 1.513e-06/0.7569, allocations: 0 / 0.6184 GB, free: 1.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007318/0.7576, allocations: 433.4 kB / 0.6188 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.7576, allocations: 59.41 kB / 0.6188 GB, free: 0.625 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.7579, allocations: 256.7 kB / 0.6191 GB, free: 380 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.7579, allocations: 25.7 kB / 0.6191 GB, free: 348 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.7581, allocations: 279.5 kB / 0.6194 GB, free: 64 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.7582, allocations: 126.1 kB / 0.6195 GB, free: 15.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.7582, allocations: 0 / 0.6195 GB, free: 15.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.7584, allocations: 338.8 kB / 0.6198 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.7587, allocations: 201.2 kB / 0.62 GB, free: 15.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004514/0.7591, allocations: 452.5 kB / 0.6204 GB, free: 14.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.7595, allocations: 295.7 kB / 0.6207 GB, free: 14.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7595, allocations: 0 / 0.6207 GB, free: 14.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009979/0.7605, allocations: 0.6573 MB / 0.6214 GB, free: 13.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.7605, allocations: 6.5 kB / 0.6214 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.7606, allocations: 15.92 kB / 0.6214 GB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.7606, allocations: 16 kB / 0.6214 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.7618, allocations: 247.7 kB / 0.6216 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004194/0.766, allocations: 7.411 MB / 0.6289 GB, free: 5.918 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.7664, allocations: 39.67 kB / 0.6289 GB, free: 5.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.7664, allocations: 35.98 kB / 0.6289 GB, free: 5.844 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.7666, allocations: 154.4 kB / 0.6291 GB, free: 5.691 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.7667, allocations: 27.62 kB / 0.6291 GB, free: 5.664 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.7678, allocations: 0.6674 MB / 0.6298 GB, free: 4.992 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.7678, allocations: 4 kB / 0.6298 GB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7679, allocations: 0 / 0.6298 GB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.7679, allocations: 7.984 kB / 0.6298 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.7684, allocations: 409.7 kB / 0.6302 GB, free: 4.543 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.7684, allocations: 0 / 0.6302 GB, free: 4.543 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.7694, allocations: 219.8 kB / 0.6304 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.7695, allocations: 0 / 0.6304 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.7695, allocations: 11.98 kB / 0.6304 GB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003906/0.7734, allocations: 7.395 MB / 0.6376 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7734, allocations: 0 / 0.6376 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006907/0.7741, allocations: 0.5386 MB / 0.6381 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008543/0.775, allocations: 0.9176 MB / 0.639 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.7751, allocations: 104.7 kB / 0.6391 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.7751, allocations: 4.094 kB / 0.6391 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.7754, allocations: 11.98 kB / 0.6391 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.7755, allocations: 31.94 kB / 0.6392 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/0.7755, allocations: 16 kB / 0.6392 GB, free: 10.96 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0001523/0.7757, allocations: 181.2 kB / 0.6394 GB, free: 10.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001394/0.7771, allocations: 215.3 kB / 0.6396 GB, free: 10.58 MB / 458.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 (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004808/0.7776, allocations: 260.9 kB / 0.6398 GB, free: 10.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.7793, allocations: 0.6652 MB / 0.6405 GB, free: 9.648 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7793, allocations: 0 / 0.6405 GB, free: 9.648 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.7806, allocations: 391.5 kB / 0.6408 GB, free: 9.266 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.7808, allocations: 21.11 kB / 0.6409 GB, free: 9.242 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.7823, allocations: 0.7278 MB / 0.6416 GB, free: 8.484 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006441/0.7829, allocations: 0.9712 MB / 0.6425 GB, free: 7.484 MB / 458.7 MB Notification: Performance of SimCode: time 3.8e-07/0.7829, allocations: 0 / 0.6425 GB, free: 7.484 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat