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.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.001332/0.001333, allocations: 191.3 kB / 7.803 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009276/0.0009273, allocations: 87.36 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2219/0.2219, allocations: 43.48 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2379/0.4598, allocations: 64.99 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.8207, allocations: 58.83 MB / 476.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.9725, allocations: 98.49 MB / 0.5617 GB, free: 424 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000496/0.9731, allocations: 95.92 kB / 0.5618 GB, free: 328 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.072/1.045, allocations: 24.42 MB / 0.5856 GB, free: 7.656 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.045, allocations: 8 kB / 0.5856 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/1.045, allocations: 55.34 kB / 0.5857 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005114/1.046, allocations: 294.4 kB / 0.586 GB, free: 7.266 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/1.046, allocations: 19.91 kB / 0.586 GB, free: 7.246 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/1.046, allocations: 36 kB / 0.586 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000815/1.047, allocations: 474.3 kB / 0.5865 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/1.048, allocations: 0.6657 MB / 0.5871 GB, free: 6.059 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/1.048, allocations: 4 kB / 0.5871 GB, free: 6.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/1.048, allocations: 0 / 0.5871 GB, free: 6.055 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.187e-05/1.048, allocations: 29.3 kB / 0.5871 GB, free: 6.027 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/1.051, allocations: 1.534 MB / 0.5886 GB, free: 4.438 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004884/1.052, allocations: 283.5 kB / 0.5889 GB, free: 4.133 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/1.052, allocations: 126.5 kB / 0.589 GB, free: 4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.872e-05/1.052, allocations: 28.03 kB / 0.5891 GB, free: 3.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/1.052, allocations: 34.81 kB / 0.5891 GB, free: 3.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.978e-06/1.052, allocations: 0 / 0.5891 GB, free: 3.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007684/1.053, allocations: 313 kB / 0.5894 GB, free: 3.617 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/1.053, allocations: 102.8 kB / 0.5895 GB, free: 3.492 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/1.053, allocations: 315.3 kB / 0.5898 GB, free: 3.176 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/1.053, allocations: 25.7 kB / 0.5898 GB, free: 3.145 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/1.054, allocations: 286.7 kB / 0.5901 GB, free: 2.859 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/1.054, allocations: 71.03 kB / 0.5902 GB, free: 2.789 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/1.054, allocations: 0 / 0.5902 GB, free: 2.789 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001958/1.054, allocations: 346.7 kB / 0.5905 GB, free: 2.441 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/1.054, allocations: 160.9 kB / 0.5906 GB, free: 2.281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/1.055, allocations: 431.9 kB / 0.5911 GB, free: 1.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/1.055, allocations: 239.7 kB / 0.5913 GB, free: 1.496 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/1.055, allocations: 4 kB / 0.5913 GB, free: 1.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001137/1.057, allocations: 0.5781 MB / 0.5919 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.057, allocations: 4 kB / 0.5919 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/1.057, allocations: 47.97 kB / 0.5919 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/1.057, allocations: 12.81 kB / 0.5919 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/1.057, allocations: 79.83 kB / 0.592 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.269e-05/1.057, allocations: 23.83 kB / 0.592 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/1.058, allocations: 59.66 kB / 0.5921 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.68e-05/1.058, allocations: 32 kB / 0.5921 GB, free: 0.6562 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 0.0002355/1.058, allocations: 144.8 kB / 0.5922 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/1.058, allocations: 27.62 kB / 0.5923 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/1.059, allocations: 0.5142 MB / 0.5928 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/1.06, allocations: 4 kB / 0.5928 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.06, allocations: 0 / 0.5928 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.06, allocations: 3.984 kB / 0.5928 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008705/1.06, allocations: 373.8 kB / 0.5931 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.033e-05/1.061, allocations: 39.97 kB / 0.5932 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/1.061, allocations: 35.88 kB / 0.5932 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/1.061, allocations: 4 kB / 0.5932 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/1.061, allocations: 11.98 kB / 0.5932 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/1.061, allocations: 8 kB / 0.5932 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.061, allocations: 3.984 kB / 0.5932 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008566/1.062, allocations: 0.5716 MB / 0.5938 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001025/1.063, allocations: 0.9548 MB / 0.5947 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/1.063, allocations: 104.7 kB / 0.5948 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.555e-05/1.063, allocations: 11.92 kB / 0.5948 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/1.063, allocations: 23.98 kB / 0.5949 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.063, allocations: 23.97 kB / 0.5949 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/1.064, allocations: 12 kB / 0.5949 GB, free: 13.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003219/1.064, allocations: 215.1 kB / 0.5951 GB, free: 13.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002128/1.066, allocations: 231.3 kB / 0.5953 GB, free: 13.23 MB / 442.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0009239/1.067, allocations: 296.7 kB / 0.5956 GB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009628/1.068, allocations: 0.6859 MB / 0.5963 GB, free: 12.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.068, allocations: 0 / 0.5963 GB, free: 12.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000496/1.068, allocations: 456.5 kB / 0.5967 GB, free: 11.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/1.069, allocations: 36.27 kB / 0.5967 GB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/1.071, allocations: 0.7063 MB / 0.5974 GB, free: 10.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007731/1.072, allocations: 0.9389 MB / 0.5983 GB, free: 9.922 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/1.072, allocations: 4 kB / 0.5984 GB, free: 9.918 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1)