Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001284/0.001284, allocations: 204.9 kB / 8.544 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.177/1.177, allocations: 225.5 MB / 234.4 MB, free: 3.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008999/0.0009, allocations: 92.89 kB / 286.3 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1707/0.1707, allocations: 45.14 MB / 383.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2291/0.3999, allocations: 69.39 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09391/0.4938, allocations: 63.25 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2839/0.7777, allocations: 94.29 MB / 0.596 GB, free: 8.543 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.778, allocations: 101 kB / 0.5961 GB, free: 8.484 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.0302/0.8082, allocations: 11.34 MB / 0.6071 GB, free: 14.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.8083, allocations: 12 kB / 0.6072 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004463/0.8087, allocations: 91.39 kB / 0.6072 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.8091, allocations: 280.8 kB / 0.6075 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.8092, allocations: 15.94 kB / 0.6075 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.8092, allocations: 28 kB / 0.6076 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005085/0.8097, allocations: 344.2 kB / 0.6079 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/0.8104, allocations: 0.5023 MB / 0.6084 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.8104, allocations: 3.984 kB / 0.6084 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.8105, allocations: 0 / 0.6084 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/0.8105, allocations: 20.78 kB / 0.6084 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.8122, allocations: 1.248 MB / 0.6096 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.8127, allocations: 248.3 kB / 0.6098 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.8128, allocations: 112.3 kB / 0.61 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.451e-05/0.8129, allocations: 23.94 kB / 0.61 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.8129, allocations: 41.69 kB / 0.61 GB, free: 12.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.8129, allocations: 0 / 0.61 GB, free: 12.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005789/0.8135, allocations: 261.7 kB / 0.6103 GB, free: 11.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.8136, allocations: 106.8 kB / 0.6104 GB, free: 11.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.8138, allocations: 191.5 kB / 0.6106 GB, free: 11.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.8138, allocations: 25.7 kB / 0.6106 GB, free: 11.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.8139, allocations: 201.8 kB / 0.6108 GB, free: 11.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.814, allocations: 57.92 kB / 0.6108 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.814, allocations: 0 / 0.6108 GB, free: 11.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.8141, allocations: 333 kB / 0.6111 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.8143, allocations: 103.3 kB / 0.6112 GB, free: 10.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.8145, allocations: 150.9 kB / 0.6114 GB, free: 10.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.8147, allocations: 116.1 kB / 0.6115 GB, free: 10.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.8147, allocations: 4 kB / 0.6115 GB, free: 10.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005426/0.8152, allocations: 303.2 kB / 0.6118 GB, free: 10.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.8153, allocations: 12.16 kB / 0.6118 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.921e-05/0.8153, allocations: 27.97 kB / 0.6118 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.8154, allocations: 8 kB / 0.6118 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.8156, allocations: 39.91 kB / 0.6119 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.8156, allocations: 8 kB / 0.6119 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.8159, allocations: 39.31 kB / 0.6119 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.8159, allocations: 8 kB / 0.6119 GB, free: 10.11 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 0.0001085/0.816, allocations: 109 kB / 0.612 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.857e-05/0.8162, allocations: 19.72 kB / 0.612 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007264/0.8169, allocations: 404.5 kB / 0.6124 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.8169, allocations: 7.984 kB / 0.6124 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.8169, allocations: 0 / 0.6124 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.8169, allocations: 0 / 0.6124 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.8174, allocations: 330.8 kB / 0.6128 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-05/0.8175, allocations: 23.98 kB / 0.6128 GB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.8177, allocations: 35.97 kB / 0.6128 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.8177, allocations: 3.906 kB / 0.6128 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.8177, allocations: 14.98 kB / 0.6128 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.8177, allocations: 0 / 0.6128 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.8177, allocations: 4 kB / 0.6128 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005794/0.8183, allocations: 0.5318 MB / 0.6134 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007064/0.819, allocations: 0.904 MB / 0.6142 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.8191, allocations: 96.91 kB / 0.6143 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/0.8192, allocations: 0 / 0.6143 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.8195, allocations: 27.92 kB / 0.6144 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.8195, allocations: 23.88 kB / 0.6144 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.8196, allocations: 8 kB / 0.6144 GB, free: 7.578 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001136/0.8197, allocations: 154.8 kB / 0.6145 GB, free: 7.449 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001156/0.8209, allocations: 153.7 kB / 0.6147 GB, free: 7.309 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.0003551/0.8212, allocations: 204.8 kB / 0.6149 GB, free: 7.105 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005458/0.8218, allocations: 476.6 kB / 0.6153 GB, free: 6.609 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8218, allocations: 0 / 0.6153 GB, free: 6.609 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.8221, allocations: 365.5 kB / 0.6157 GB, free: 6.211 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.8225, allocations: 35.8 kB / 0.6157 GB, free: 6.184 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.8238, allocations: 0.5544 MB / 0.6163 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004568/0.8242, allocations: 0.8782 MB / 0.6171 GB, free: 4.727 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.8242, allocations: 0 / 0.6171 GB, free: 4.727 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1)