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_laminar.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_laminar,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001762/0.001762, allocations: 191.4 kB / 7.805 MB, free: 2.441 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.615/1.615, 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.00102/0.00102, allocations: 99.45 kB / 261.4 MB, free: 13.56 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.2222/0.2222, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2517/0.474, allocations: 64.99 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.8522, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/1.001, allocations: 93.04 MB / 0.5564 GB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.002, allocations: 99.42 kB / 0.5565 GB, free: 5.762 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.03545/1.037, allocations: 12.6 MB / 0.5688 GB, free: 8.934 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.037, allocations: 11.94 kB / 0.5688 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/1.037, allocations: 47.44 kB / 0.5688 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/1.038, allocations: 294.3 kB / 0.5691 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/1.038, allocations: 16 kB / 0.5691 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/1.038, allocations: 24 kB / 0.5691 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006885/1.039, allocations: 393.8 kB / 0.5695 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008931/1.04, allocations: 0.5836 MB / 0.5701 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/1.04, allocations: 0 / 0.5701 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/1.04, allocations: 0 / 0.5701 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/1.04, allocations: 24.98 kB / 0.5701 GB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/1.042, allocations: 1.377 MB / 0.5714 GB, free: 6.066 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/1.042, allocations: 287.5 kB / 0.5717 GB, free: 5.758 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/1.043, allocations: 126.6 kB / 0.5718 GB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.957e-05/1.043, allocations: 24.03 kB / 0.5719 GB, free: 5.602 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/1.043, allocations: 34.56 kB / 0.5719 GB, free: 5.559 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.254e-06/1.043, allocations: 4 kB / 0.5719 GB, free: 5.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006956/1.044, allocations: 300.8 kB / 0.5722 GB, free: 5.258 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/1.044, allocations: 102.8 kB / 0.5723 GB, free: 5.133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/1.044, allocations: 223.9 kB / 0.5725 GB, free: 4.902 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/1.044, allocations: 25.7 kB / 0.5725 GB, free: 4.871 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/1.044, allocations: 231.5 kB / 0.5727 GB, free: 4.641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/1.044, allocations: 71 kB / 0.5728 GB, free: 4.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/1.044, allocations: 8 kB / 0.5728 GB, free: 4.562 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/1.044, allocations: 334.8 kB / 0.5731 GB, free: 4.227 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/1.045, allocations: 124.2 kB / 0.5733 GB, free: 4.102 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/1.045, allocations: 259.3 kB / 0.5735 GB, free: 3.793 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/1.045, allocations: 171.8 kB / 0.5737 GB, free: 3.625 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.045, allocations: 4 kB / 0.5737 GB, free: 3.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007397/1.046, allocations: 416.2 kB / 0.5741 GB, free: 3.211 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.046, allocations: 4 kB / 0.5741 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.453e-05/1.046, allocations: 39.97 kB / 0.5741 GB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/1.046, allocations: 8 kB / 0.5741 GB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/1.046, allocations: 52.42 kB / 0.5742 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/1.046, allocations: 15.92 kB / 0.5742 GB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/1.047, allocations: 43.72 kB / 0.5742 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/1.047, allocations: 24 kB / 0.5742 GB, free: 3.027 MB / 410.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.000137/1.047, allocations: 126.2 kB / 0.5744 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.776e-05/1.047, allocations: 19.72 kB / 0.5744 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008872/1.048, allocations: 478.5 kB / 0.5748 GB, free: 2.406 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/1.048, allocations: 7.984 kB / 0.5749 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.048, allocations: 4 kB / 0.5749 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.048, allocations: 0 / 0.5749 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/1.049, allocations: 349.8 kB / 0.5752 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000114/1.049, allocations: 35.97 kB / 0.5752 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/1.049, allocations: 39.88 kB / 0.5753 GB, free: 1.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.049, allocations: 0 / 0.5753 GB, free: 1.941 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.141e-05/1.049, allocations: 11.98 kB / 0.5753 GB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/1.049, allocations: 4 kB / 0.5753 GB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.049, allocations: 0 / 0.5753 GB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009461/1.05, allocations: 0.5671 MB / 0.5758 GB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001091/1.051, allocations: 0.9393 MB / 0.5767 GB, free: 364 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/1.051, allocations: 104.8 kB / 0.5768 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/1.051, allocations: 0 / 0.5768 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/1.052, allocations: 23.98 kB / 0.5769 GB, free: 216 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/1.052, allocations: 23.97 kB / 0.5769 GB, free: 192 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/1.052, allocations: 15.98 kB / 0.5769 GB, free: 176 kB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001696/1.052, allocations: 164.5 kB / 0.5771 GB, free: 12 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001384/1.053, allocations: 167.4 kB / 0.5772 GB, free: 15.84 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.0004696/1.054, allocations: 208.8 kB / 0.5774 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008151/1.055, allocations: 0.6133 MB / 0.578 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.055, allocations: 0 / 0.578 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/1.055, allocations: 453.4 kB / 0.5785 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/1.056, allocations: 40.48 kB / 0.5785 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/1.058, allocations: 0.6285 MB / 0.5791 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005985/1.058, allocations: 0.9032 MB / 0.58 GB, free: 12.8 MB / 426.7 MB Notification: Performance of SimCode: time 7.82e-07/1.058, allocations: 0 / 0.58 GB, free: 12.8 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1)