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_laminar.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_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",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.0009778/0.0009781, allocations: 178.2 kB / 8.519 MB, free: 1.828 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.153/1.153, allocations: 221.4 MB / 230.3 MB, free: 7.762 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.000919/0.0009189, allocations: 84.73 kB / 281.2 MB, free: 5.527 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.1638/0.1638, allocations: 44.14 MB / 376.1 MB, free: 3.121 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1808/0.3445, allocations: 68.06 MB / 444.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09995/0.4445, allocations: 61.91 MB / 0.4942 GB, free: 1.363 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2726/0.7171, allocations: 94.18 MB / 0.5862 GB, free: 2.301 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.7174, allocations: 95.75 kB / 0.5863 GB, free: 2.211 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.03292/0.7504, allocations: 12.94 MB / 0.5989 GB, free: 5.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.7504, allocations: 11.94 kB / 0.5989 GB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.7505, allocations: 51.44 kB / 0.599 GB, free: 4.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.751, allocations: 290.4 kB / 0.5992 GB, free: 4.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.751, allocations: 19.91 kB / 0.5993 GB, free: 4.641 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/0.7511, allocations: 28 kB / 0.5993 GB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006316/0.7517, allocations: 397.7 kB / 0.5997 GB, free: 4.227 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.7526, allocations: 0.568 MB / 0.6002 GB, free: 3.641 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.7526, allocations: 11.88 kB / 0.6002 GB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.7526, allocations: 0 / 0.6002 GB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/0.7527, allocations: 28.98 kB / 0.6003 GB, free: 3.602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.7549, allocations: 1.374 MB / 0.6016 GB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.7553, allocations: 275.6 kB / 0.6019 GB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.7555, allocations: 126.5 kB / 0.602 GB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.461e-05/0.7556, allocations: 20.03 kB / 0.602 GB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.7556, allocations: 42.44 kB / 0.602 GB, free: 1.672 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/0.7556, allocations: 0 / 0.602 GB, free: 1.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006353/0.7563, allocations: 303.9 kB / 0.6023 GB, free: 1.371 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.7563, allocations: 110.9 kB / 0.6024 GB, free: 1.238 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.7565, allocations: 219.8 kB / 0.6026 GB, free: 1.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.7566, allocations: 25.7 kB / 0.6027 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.7567, allocations: 231.5 kB / 0.6029 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.394e-05/0.7568, allocations: 71 kB / 0.603 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.7568, allocations: 0 / 0.603 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.757, allocations: 330.8 kB / 0.6033 GB, free: 364 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.7572, allocations: 132 kB / 0.6034 GB, free: 224 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.7575, allocations: 255.4 kB / 0.6036 GB, free: 15.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.7578, allocations: 175.8 kB / 0.6038 GB, free: 15.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7578, allocations: 0 / 0.6038 GB, free: 15.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006571/0.7585, allocations: 413.2 kB / 0.6042 GB, free: 15.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.7585, allocations: 12.09 kB / 0.6042 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.757e-05/0.7586, allocations: 35.97 kB / 0.6043 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.7586, allocations: 8 kB / 0.6043 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.7588, allocations: 51.89 kB / 0.6043 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.7589, allocations: 8 kB / 0.6043 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.7592, allocations: 43.72 kB / 0.6044 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.7592, allocations: 20 kB / 0.6044 GB, free: 15.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * 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.0001192/0.7594, allocations: 128.8 kB / 0.6045 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.432e-05/0.7595, allocations: 23.72 kB / 0.6045 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008271/0.7603, allocations: 476.8 kB / 0.605 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.7603, allocations: 4 kB / 0.605 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7603, allocations: 0 / 0.605 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.7603, allocations: 4 kB / 0.605 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.7608, allocations: 345.8 kB / 0.6053 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.904e-05/0.7609, allocations: 39.97 kB / 0.6054 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.7611, allocations: 35.97 kB / 0.6054 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.7611, allocations: 3.906 kB / 0.6054 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.7612, allocations: 11.98 kB / 0.6054 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.7612, allocations: 7.938 kB / 0.6054 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7612, allocations: 4 kB / 0.6054 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006111/0.7618, allocations: 0.555 MB / 0.606 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006949/0.7625, allocations: 0.9549 MB / 0.6069 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.7626, allocations: 104.8 kB / 0.607 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.7626, allocations: 0 / 0.607 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.7629, allocations: 23.98 kB / 0.607 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.763, allocations: 27.91 kB / 0.607 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.7631, allocations: 11.98 kB / 0.6071 GB, free: 12.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001325/0.7632, allocations: 172.5 kB / 0.6072 GB, free: 12.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001253/0.7645, allocations: 163.4 kB / 0.6074 GB, free: 11.96 MB / 426.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.000388/0.7649, allocations: 197.1 kB / 0.6076 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006229/0.7655, allocations: 0.6161 MB / 0.6082 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7655, allocations: 0 / 0.6082 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.7658, allocations: 460.2 kB / 0.6086 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.7662, allocations: 29.75 kB / 0.6086 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.7677, allocations: 0.6324 MB / 0.6092 GB, free: 9.859 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005487/0.7682, allocations: 0.9071 MB / 0.6101 GB, free: 8.926 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.7682, allocations: 0 / 0.6101 GB, free: 8.926 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1)