Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001818/0.001818, allocations: 192.2 kB / 7.808 MB, free: 1.18 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.2 MB / 213.4 MB, free: 3.336 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 85.7 kB / 261.4 MB, free: 4.207 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5037/0.5037, allocations: 43.49 MB / 352.8 MB, free: 50.07 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1576/0.6614, allocations: 64.99 MB / 417.8 MB, free: 5.031 MB / 306.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.8107, allocations: 58.85 MB / 476.7 MB, free: 10.07 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/1.211, allocations: 97.72 MB / 0.5609 GB, free: 304 kB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/1.211, allocations: 93.36 kB / 0.561 GB, free: 212 kB / 386.8 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.06716/1.278, allocations: 23.7 MB / 0.5842 GB, free: 8.336 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/1.278, allocations: 12 kB / 0.5842 GB, free: 8.324 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/1.278, allocations: 51.34 kB / 0.5842 GB, free: 8.273 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/1.279, allocations: 306.3 kB / 0.5845 GB, free: 7.93 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/1.279, allocations: 20 kB / 0.5845 GB, free: 7.91 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.573e-05/1.279, allocations: 32 kB / 0.5846 GB, free: 7.879 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00104/1.28, allocations: 0.6975 MB / 0.5853 GB, free: 7.18 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/1.281, allocations: 0.6558 MB / 0.5859 GB, free: 6.516 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.281, allocations: 3.984 kB / 0.5859 GB, free: 6.512 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/1.281, allocations: 3.906 kB / 0.5859 GB, free: 6.508 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-05/1.282, allocations: 57.28 kB / 0.586 GB, free: 6.453 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/1.284, allocations: 1.397 MB / 0.5873 GB, free: 5.016 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008155/1.285, allocations: 0.5482 MB / 0.5879 GB, free: 4.469 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/1.285, allocations: 176.7 kB / 0.588 GB, free: 4.293 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.954e-05/1.285, allocations: 11.97 kB / 0.588 GB, free: 4.281 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/1.285, allocations: 38.56 kB / 0.5881 GB, free: 4.234 MB / 418.8 MB Notification: Performance of pre-optimization done (n=37): time 2.654e-06/1.285, allocations: 0 / 0.5881 GB, free: 4.234 MB / 418.8 MB Notification: Performance of matching and sorting (n=37): time 0.000833/1.286, allocations: 443.2 kB / 0.5885 GB, free: 3.797 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/1.286, allocations: 55.41 kB / 0.5886 GB, free: 3.73 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/1.287, allocations: 256.8 kB / 0.5888 GB, free: 3.477 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/1.287, allocations: 25.7 kB / 0.5888 GB, free: 3.445 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/1.287, allocations: 279.5 kB / 0.5891 GB, free: 3.168 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/1.287, allocations: 134.1 kB / 0.5892 GB, free: 3.035 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/1.287, allocations: 3.938 kB / 0.5892 GB, free: 3.031 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0002389/1.287, allocations: 338.8 kB / 0.5895 GB, free: 2.691 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/1.288, allocations: 205.1 kB / 0.5897 GB, free: 2.492 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/1.288, allocations: 448.9 kB / 0.5902 GB, free: 1.941 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/1.289, allocations: 283.7 kB / 0.5904 GB, free: 1.664 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/1.289, allocations: 4 kB / 0.5904 GB, free: 1.66 MB / 418.8 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001274/1.29, allocations: 0.6644 MB / 0.5911 GB, free: 0.9883 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/1.29, allocations: 4 kB / 0.5911 GB, free: 0.9844 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/1.29, allocations: 12 kB / 0.5911 GB, free: 0.9727 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.702e-05/1.29, allocations: 12 kB / 0.5911 GB, free: 0.9609 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/1.292, allocations: 256.2 kB / 0.5914 GB, free: 0.7109 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004832/1.297, allocations: 7.407 MB / 0.5986 GB, free: 9.02 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/1.297, allocations: 35.67 kB / 0.5986 GB, free: 8.984 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/1.297, allocations: 36.17 kB / 0.5987 GB, free: 8.949 MB / 434.8 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.0002359/1.297, allocations: 153.2 kB / 0.5988 GB, free: 8.793 MB / 434.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-05/1.298, allocations: 31.62 kB / 0.5988 GB, free: 8.762 MB / 434.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/1.299, allocations: 0.6595 MB / 0.5995 GB, free: 8.102 MB / 434.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/1.299, allocations: 11.94 kB / 0.5995 GB, free: 8.09 MB / 434.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.299, allocations: 0 / 0.5995 GB, free: 8.09 MB / 434.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.299, allocations: 0 / 0.5995 GB, free: 8.09 MB / 434.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006811/1.3, allocations: 409.7 kB / 0.5999 GB, free: 7.652 MB / 434.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.3, allocations: 0 / 0.5999 GB, free: 7.652 MB / 434.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/1.301, allocations: 215.8 kB / 0.6001 GB, free: 7.441 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/1.301, allocations: 4 kB / 0.6001 GB, free: 7.438 MB / 434.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/1.301, allocations: 7.984 kB / 0.6001 GB, free: 7.43 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005015/1.306, allocations: 7.395 MB / 0.6073 GB, free: 15.75 MB / 450.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.306, allocations: 0 / 0.6073 GB, free: 15.75 MB / 450.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008829/1.307, allocations: 0.5425 MB / 0.6079 GB, free: 15.19 MB / 450.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009524/1.308, allocations: 0.9141 MB / 0.6087 GB, free: 14.26 MB / 450.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/1.308, allocations: 104.7 kB / 0.6088 GB, free: 14.14 MB / 450.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/1.308, allocations: 3.984 kB / 0.6088 GB, free: 14.13 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/1.308, allocations: 8 kB / 0.6089 GB, free: 14.12 MB / 450.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.308, allocations: 27.95 kB / 0.6089 GB, free: 14.1 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/1.308, allocations: 19.98 kB / 0.6089 GB, free: 14.08 MB / 450.8 MB Notification: Performance of sort global known variables: time 0.0001958/1.309, allocations: 185.2 kB / 0.6091 GB, free: 13.9 MB / 450.8 MB Notification: Performance of remove unused functions: time 0.001563/1.31, allocations: 211.3 kB / 0.6093 GB, free: 13.69 MB / 450.8 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.000717/1.311, allocations: 277.3 kB / 0.6095 GB, free: 13.41 MB / 450.8 MB Notification: Performance of simCode: created initialization part: time 0.001894/1.313, allocations: 0.6658 MB / 0.6102 GB, free: 12.75 MB / 450.8 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.313, allocations: 0 / 0.6102 GB, free: 12.75 MB / 450.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/1.314, allocations: 392.2 kB / 0.6106 GB, free: 12.37 MB / 450.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/1.314, allocations: 20.48 kB / 0.6106 GB, free: 12.35 MB / 450.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/1.316, allocations: 0.7277 MB / 0.6113 GB, free: 11.6 MB / 450.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007521/1.317, allocations: 0.9712 MB / 0.6122 GB, free: 10.59 MB / 450.8 MB Notification: Performance of SimCode: time 6.11e-07/1.317, allocations: 0 / 0.6122 GB, free: 10.59 MB / 450.8 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat