Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.00169/0.00169, allocations: 191.9 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.44/1.44, allocations: 205.2 MB / 213.4 MB, free: 13.84 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: 93.45 kB / 261.4 MB, free: 13.46 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.1939/0.1939, allocations: 43.48 MB / 352.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2115/0.4055, allocations: 65 MB / 417.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.7188, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.8582, allocations: 92.1 MB / 0.5554 GB, free: 6.797 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.8585, allocations: 95.09 kB / 0.5555 GB, free: 6.707 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.03128/0.8898, allocations: 10.93 MB / 0.5662 GB, free: 11.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.8899, allocations: 8 kB / 0.5662 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.89, allocations: 43.44 kB / 0.5663 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.8905, allocations: 294.2 kB / 0.5665 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.8905, allocations: 12 kB / 0.5666 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.8905, allocations: 20 kB / 0.5666 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005754/0.8911, allocations: 345.6 kB / 0.5669 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007731/0.8919, allocations: 0.5004 MB / 0.5674 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.8919, allocations: 0 / 0.5674 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.892, allocations: 4 kB / 0.5674 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/0.892, allocations: 20.77 kB / 0.5674 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.894, allocations: 1.248 MB / 0.5686 GB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.8944, allocations: 247.6 kB / 0.5689 GB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.8946, allocations: 115.3 kB / 0.569 GB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.435e-05/0.8946, allocations: 11.91 kB / 0.569 GB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.8947, allocations: 38.5 kB / 0.569 GB, free: 8.523 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.415e-06/0.8947, allocations: 0 / 0.569 GB, free: 8.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006011/0.8953, allocations: 265.3 kB / 0.5693 GB, free: 8.258 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.8953, allocations: 102.8 kB / 0.5694 GB, free: 8.133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.8956, allocations: 191 kB / 0.5696 GB, free: 7.938 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.8956, allocations: 25.81 kB / 0.5696 GB, free: 7.906 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.8957, allocations: 211.7 kB / 0.5698 GB, free: 7.691 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.8958, allocations: 67.09 kB / 0.5699 GB, free: 7.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.752e-05/0.8958, allocations: 3.938 kB / 0.5699 GB, free: 7.621 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.896, allocations: 326.8 kB / 0.5702 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.8961, allocations: 108.1 kB / 0.5703 GB, free: 7.184 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.8963, allocations: 137.4 kB / 0.5704 GB, free: 7.031 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.8966, allocations: 127.8 kB / 0.5705 GB, free: 6.906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8966, allocations: 0 / 0.5705 GB, free: 6.906 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005138/0.8971, allocations: 305.1 kB / 0.5708 GB, free: 6.602 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.8971, allocations: 4 kB / 0.5708 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.594e-05/0.8972, allocations: 31.97 kB / 0.5708 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.8972, allocations: 160 / 0.5708 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.8974, allocations: 47.91 kB / 0.5709 GB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.8975, allocations: 0 / 0.5709 GB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.8977, allocations: 39.81 kB / 0.5709 GB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.8978, allocations: 15.98 kB / 0.5709 GB, free: 6.465 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 9.689e-05/0.8979, allocations: 109.8 kB / 0.5711 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.898, allocations: 19.72 kB / 0.5711 GB, free: 6.336 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006953/0.8987, allocations: 401.8 kB / 0.5715 GB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.8987, allocations: 4 kB / 0.5715 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.8987, allocations: 4 kB / 0.5715 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.8987, allocations: 7.984 kB / 0.5715 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.8992, allocations: 325.9 kB / 0.5718 GB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.055e-05/0.8993, allocations: 31.97 kB / 0.5718 GB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.8995, allocations: 35.97 kB / 0.5718 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.8995, allocations: 7.906 kB / 0.5719 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.8996, allocations: 4 kB / 0.5719 GB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.8996, allocations: 4 kB / 0.5719 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.8996, allocations: 3.938 kB / 0.5719 GB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006397/0.9002, allocations: 0.5287 MB / 0.5724 GB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007679/0.901, allocations: 0.908 MB / 0.5733 GB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.278e-05/0.9011, allocations: 96.91 kB / 0.5734 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.9011, allocations: 0 / 0.5734 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.9014, allocations: 27.98 kB / 0.5734 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.9015, allocations: 23.88 kB / 0.5734 GB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.9016, allocations: 15.92 kB / 0.5734 GB, free: 3.801 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001355/0.9017, allocations: 145.5 kB / 0.5736 GB, free: 3.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001271/0.903, allocations: 151.5 kB / 0.5737 GB, free: 3.512 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0004253/0.9034, allocations: 196.9 kB / 0.5739 GB, free: 3.312 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006064/0.904, allocations: 467.1 kB / 0.5743 GB, free: 2.801 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.904, allocations: 4 kB / 0.5743 GB, free: 2.797 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.9044, allocations: 363.2 kB / 0.5747 GB, free: 2.387 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.9048, allocations: 32.12 kB / 0.5747 GB, free: 2.355 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.9063, allocations: 0.5541 MB / 0.5753 GB, free: 1.758 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.9068, allocations: 0.8831 MB / 0.5761 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.9068, allocations: 0 / 0.5761 GB, free: 0.8516 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1)