Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",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.002746/0.002746, allocations: 186.2 kB / 7.799 MB, free: 2.277 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.697/1.697, 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.0009239/0.0009239, allocations: 95.55 kB / 261.4 MB, free: 13.54 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.3012/0.3012, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2837/0.5849, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.9632, allocations: 58.84 MB / 476.7 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/1.114, allocations: 97.48 MB / 0.5607 GB, free: 1.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000373/1.114, allocations: 107 kB / 0.5608 GB, free: 1.328 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.06097/1.175, allocations: 21.57 MB / 0.5819 GB, free: 11.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/1.175, allocations: 8 kB / 0.5819 GB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/1.175, allocations: 51.34 kB / 0.5819 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008888/1.176, allocations: 298.3 kB / 0.5822 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.422e-05/1.176, allocations: 16 kB / 0.5822 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/1.177, allocations: 28 kB / 0.5822 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001224/1.178, allocations: 426 kB / 0.5827 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/1.179, allocations: 0.6122 MB / 0.5833 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/1.179, allocations: 0 / 0.5833 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.768e-05/1.18, allocations: 0 / 0.5833 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.07e-05/1.18, allocations: 24.94 kB / 0.5833 GB, free: 9.992 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003593/1.183, allocations: 1.362 MB / 0.5846 GB, free: 8.582 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000645/1.184, allocations: 287.8 kB / 0.5849 GB, free: 8.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/1.184, allocations: 134.7 kB / 0.585 GB, free: 8.129 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.377e-05/1.184, allocations: 11.91 kB / 0.585 GB, free: 8.117 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/1.184, allocations: 38.5 kB / 0.5851 GB, free: 8.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.655e-06/1.184, allocations: 0 / 0.5851 GB, free: 8.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.001036/1.185, allocations: 319.6 kB / 0.5854 GB, free: 7.754 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/1.185, allocations: 102.8 kB / 0.5855 GB, free: 7.629 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/1.186, allocations: 198.9 kB / 0.5856 GB, free: 7.426 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/1.186, allocations: 25.7 kB / 0.5857 GB, free: 7.395 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/1.186, allocations: 239.6 kB / 0.5859 GB, free: 7.156 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.297e-05/1.186, allocations: 74.86 kB / 0.586 GB, free: 7.082 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/1.186, allocations: 4.062 kB / 0.586 GB, free: 7.078 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/1.186, allocations: 338.8 kB / 0.5863 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/1.187, allocations: 119.9 kB / 0.5864 GB, free: 6.621 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/1.187, allocations: 224.6 kB / 0.5866 GB, free: 6.355 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/1.187, allocations: 161.9 kB / 0.5868 GB, free: 6.199 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.187, allocations: 7.938 kB / 0.5868 GB, free: 6.191 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001096/1.189, allocations: 405.8 kB / 0.5872 GB, free: 5.789 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.189, allocations: 8 kB / 0.5872 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/1.189, allocations: 39.97 kB / 0.5872 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/1.189, allocations: 4 kB / 0.5872 GB, free: 5.738 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/1.189, allocations: 43.89 kB / 0.5873 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.189, allocations: 8 kB / 0.5873 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/1.19, allocations: 39.73 kB / 0.5873 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.045e-05/1.19, allocations: 23.98 kB / 0.5873 GB, free: 5.625 MB / 426.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: 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 (30): * Single equations (assignments): 18 * 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.0001711/1.19, allocations: 126.2 kB / 0.5875 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/1.19, allocations: 19.72 kB / 0.5875 GB, free: 5.477 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/1.191, allocations: 0.4945 MB / 0.588 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/1.191, allocations: 4 kB / 0.588 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.192, allocations: 4 kB / 0.588 GB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.192, allocations: 4 kB / 0.588 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007383/1.192, allocations: 369.8 kB / 0.5883 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-05/1.192, allocations: 35.97 kB / 0.5884 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/1.193, allocations: 31.97 kB / 0.5884 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/1.193, allocations: 4 kB / 0.5884 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/1.193, allocations: 15.98 kB / 0.5884 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.193, allocations: 0 / 0.5884 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.193, allocations: 0 / 0.5884 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006197/1.193, allocations: 0.5831 MB / 0.589 GB, free: 3.867 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008364/1.194, allocations: 0.9592 MB / 0.5899 GB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/1.194, allocations: 100.8 kB / 0.59 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.741e-05/1.194, allocations: 0 / 0.59 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/1.195, allocations: 27.97 kB / 0.59 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-05/1.195, allocations: 15.98 kB / 0.5901 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/1.195, allocations: 23.92 kB / 0.5901 GB, free: 2.691 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001432/1.195, allocations: 153.9 kB / 0.5902 GB, free: 2.543 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001654/1.197, allocations: 219.2 kB / 0.5904 GB, free: 2.328 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.0006691/1.197, allocations: 288.9 kB / 0.5907 GB, free: 2.035 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008442/1.198, allocations: 0.6017 MB / 0.5913 GB, free: 1.359 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.198, allocations: 4.812 kB / 0.5913 GB, free: 1.355 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004067/1.199, allocations: 468.3 kB / 0.5917 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/1.199, allocations: 32.44 kB / 0.5918 GB, free: 0.793 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/1.201, allocations: 0.6436 MB / 0.5924 GB, free: 120 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005779/1.201, allocations: 0.9168 MB / 0.5933 GB, free: 15.17 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/1.201, allocations: 0 / 0.5933 GB, free: 15.17 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1)