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_turbulent.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_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",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.001176/0.001176, allocations: 191.5 kB / 7.806 MB, free: 2.488 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.614/1.614, 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.0009517/0.0009518, allocations: 89.59 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.2297/0.2297, allocations: 43.49 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.26/0.4898, allocations: 64.99 MB / 417.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.8361, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.9723, allocations: 91.94 MB / 0.5553 GB, free: 6.918 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.9727, allocations: 103.1 kB / 0.5554 GB, free: 6.82 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.04002/1.013, allocations: 13.56 MB / 0.5686 GB, free: 9.113 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.013, allocations: 12 kB / 0.5686 GB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/1.013, allocations: 31.62 kB / 0.5687 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/1.013, allocations: 262.4 kB / 0.5689 GB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/1.013, allocations: 8 kB / 0.5689 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/1.013, allocations: 16 kB / 0.5689 GB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004356/1.014, allocations: 241.2 kB / 0.5692 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/1.014, allocations: 369.4 kB / 0.5695 GB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/1.014, allocations: 7.938 kB / 0.5695 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/1.014, allocations: 7.984 kB / 0.5695 GB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/1.015, allocations: 12.66 kB / 0.5696 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/1.016, allocations: 1.022 MB / 0.5706 GB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/1.016, allocations: 219.8 kB / 0.5708 GB, free: 6.785 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/1.017, allocations: 78.53 kB / 0.5708 GB, free: 6.699 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.372e-05/1.017, allocations: 11.98 kB / 0.5708 GB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.017, allocations: 38.59 kB / 0.5709 GB, free: 6.641 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.234e-06/1.017, allocations: 0 / 0.5709 GB, free: 6.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005079/1.017, allocations: 205.4 kB / 0.5711 GB, free: 6.434 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/1.017, allocations: 106.8 kB / 0.5712 GB, free: 6.305 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/1.018, allocations: 219.8 kB / 0.5714 GB, free: 6.086 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/1.018, allocations: 25.7 kB / 0.5714 GB, free: 6.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/1.018, allocations: 187.5 kB / 0.5716 GB, free: 5.863 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/1.018, allocations: 51.34 kB / 0.5716 GB, free: 5.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/1.018, allocations: 0 / 0.5716 GB, free: 5.812 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/1.018, allocations: 334.8 kB / 0.572 GB, free: 5.477 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/1.018, allocations: 92.19 kB / 0.5721 GB, free: 5.383 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/1.018, allocations: 205 kB / 0.5722 GB, free: 5.129 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/1.019, allocations: 131.8 kB / 0.5724 GB, free: 5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/1.019, allocations: 7.906 kB / 0.5724 GB, free: 4.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005778/1.019, allocations: 309.3 kB / 0.5727 GB, free: 4.684 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.019, allocations: 8 kB / 0.5727 GB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-05/1.019, allocations: 23.97 kB / 0.5727 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/1.019, allocations: 8 kB / 0.5727 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/1.02, allocations: 56.12 kB / 0.5728 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/1.02, allocations: 7.984 kB / 0.5728 GB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/1.02, allocations: 43.73 kB / 0.5728 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/1.02, allocations: 19.98 kB / 0.5728 GB, free: 4.52 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001229/1.02, allocations: 120.8 kB / 0.573 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/1.02, allocations: 23.72 kB / 0.573 GB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005609/1.021, allocations: 291 kB / 0.5733 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/1.021, allocations: 0 / 0.5733 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/1.021, allocations: 4 kB / 0.5733 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/1.021, allocations: 3.984 kB / 0.5733 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/1.021, allocations: 270 kB / 0.5735 GB, free: 3.773 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.786e-05/1.021, allocations: 15.98 kB / 0.5735 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/1.022, allocations: 35.97 kB / 0.5736 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.022, allocations: 0 / 0.5736 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/1.022, allocations: 15.89 kB / 0.5736 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.022, allocations: 0 / 0.5736 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.022, allocations: 3.938 kB / 0.5736 GB, free: 3.703 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004815/1.022, allocations: 477.2 kB / 0.574 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006831/1.023, allocations: 0.8412 MB / 0.5749 GB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-05/1.023, allocations: 100.8 kB / 0.575 GB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/1.023, allocations: 3.938 kB / 0.575 GB, free: 2.211 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/1.023, allocations: 27.97 kB / 0.575 GB, free: 2.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/1.023, allocations: 11.98 kB / 0.575 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/1.023, allocations: 8 kB / 0.575 GB, free: 2.164 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001673/1.024, allocations: 168.5 kB / 0.5752 GB, free: 2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00127/1.025, allocations: 111.7 kB / 0.5753 GB, free: 1.891 MB / 410.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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.000387/1.025, allocations: 187.1 kB / 0.5755 GB, free: 1.699 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004872/1.026, allocations: 374.9 kB / 0.5758 GB, free: 1.297 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.026, allocations: 0 / 0.5758 GB, free: 1.297 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002375/1.026, allocations: 250.1 kB / 0.576 GB, free: 1.016 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/1.026, allocations: 24.56 kB / 0.5761 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/1.027, allocations: 416.5 kB / 0.5765 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004401/1.028, allocations: 0.8326 MB / 0.5773 GB, free: 15.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/1.028, allocations: 0 / 0.5773 GB, free: 15.7 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1)