Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009698/0.0009698, allocations: 173.3 kB / 8.516 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 221.4 MB / 230.3 MB, free: 7.621 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009086/0.0009086, allocations: 97.91 kB / 281.2 MB, free: 5.434 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1628/0.1628, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2302/0.3931, allocations: 68.04 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.5174, allocations: 61.91 MB / 0.4942 GB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3075/0.825, allocations: 93.25 MB / 0.5853 GB, free: 3.539 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.8253, allocations: 91.77 kB / 0.5853 GB, free: 3.453 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.03097/0.8563, allocations: 11.23 MB / 0.5963 GB, free: 8.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.8563, allocations: 11.94 kB / 0.5963 GB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.8564, allocations: 43.44 kB / 0.5964 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.8568, allocations: 286.3 kB / 0.5966 GB, free: 7.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.8569, allocations: 19.84 kB / 0.5967 GB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.8569, allocations: 20 kB / 0.5967 GB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005361/0.8575, allocations: 341.6 kB / 0.597 GB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007427/0.8582, allocations: 0.5043 MB / 0.5975 GB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.8582, allocations: 4 kB / 0.5975 GB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.8583, allocations: 3.984 kB / 0.5975 GB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/0.8583, allocations: 16.78 kB / 0.5975 GB, free: 6.727 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.8602, allocations: 1.248 MB / 0.5987 GB, free: 5.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.8606, allocations: 247.6 kB / 0.599 GB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.8608, allocations: 114.5 kB / 0.5991 GB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-05/0.8609, allocations: 15.91 kB / 0.5991 GB, free: 5.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.8609, allocations: 38.59 kB / 0.5991 GB, free: 4.969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.695e-06/0.8609, allocations: 3.938 kB / 0.5991 GB, free: 4.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006039/0.8615, allocations: 269.4 kB / 0.5994 GB, free: 4.695 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.8616, allocations: 106.8 kB / 0.5995 GB, free: 4.566 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.8618, allocations: 179 kB / 0.5997 GB, free: 4.383 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.8618, allocations: 29.7 kB / 0.5997 GB, free: 4.348 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.8619, allocations: 207.6 kB / 0.5999 GB, free: 4.137 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.862, allocations: 59.11 kB / 0.6 GB, free: 4.078 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.862, allocations: 0 / 0.6 GB, free: 4.078 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.8622, allocations: 334.9 kB / 0.6003 GB, free: 3.742 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.8623, allocations: 100.1 kB / 0.6004 GB, free: 3.641 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.8625, allocations: 141.4 kB / 0.6005 GB, free: 3.484 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.8628, allocations: 123.9 kB / 0.6006 GB, free: 3.363 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.8628, allocations: 0 / 0.6006 GB, free: 3.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005329/0.8633, allocations: 305.1 kB / 0.6009 GB, free: 3.059 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.8633, allocations: 7.984 kB / 0.6009 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.198e-05/0.8634, allocations: 35.89 kB / 0.601 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.8634, allocations: 0 / 0.601 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.8637, allocations: 52.05 kB / 0.601 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.8637, allocations: 0 / 0.601 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.8639, allocations: 31.89 kB / 0.601 GB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.864, allocations: 15.98 kB / 0.6011 GB, free: 2.918 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.576e-05/0.8641, allocations: 104.9 kB / 0.6012 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-05/0.8642, allocations: 23.72 kB / 0.6012 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006906/0.8649, allocations: 397.6 kB / 0.6016 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.8649, allocations: 11.94 kB / 0.6016 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.8649, allocations: 4 kB / 0.6016 GB, free: 2.375 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.8649, allocations: 0 / 0.6016 GB, free: 2.375 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.8654, allocations: 329.9 kB / 0.6019 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-05/0.8655, allocations: 31.97 kB / 0.6019 GB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.8657, allocations: 35.97 kB / 0.6019 GB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.8657, allocations: 0 / 0.6019 GB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.8657, allocations: 15.89 kB / 0.602 GB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.8657, allocations: 0 / 0.602 GB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8657, allocations: 0 / 0.602 GB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005574/0.8663, allocations: 0.5313 MB / 0.6025 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006515/0.867, allocations: 0.9158 MB / 0.6034 GB, free: 436 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.867, allocations: 88.92 kB / 0.6035 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.8671, allocations: 4 kB / 0.6035 GB, free: 324 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.8674, allocations: 23.97 kB / 0.6035 GB, free: 300 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/0.8675, allocations: 23.89 kB / 0.6035 GB, free: 276 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.8675, allocations: 11.98 kB / 0.6035 GB, free: 264 kB / 410.7 MB Notification: Performance of sort global known variables: time 0.000111/0.8676, allocations: 153.4 kB / 0.6037 GB, free: 112 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001183/0.8688, allocations: 147.6 kB / 0.6038 GB, free: 15.96 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 (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.0003455/0.8692, allocations: 193.4 kB / 0.604 GB, free: 15.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005321/0.8697, allocations: 487 kB / 0.6045 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.8697, allocations: 0 / 0.6045 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.87, allocations: 359.2 kB / 0.6048 GB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.8704, allocations: 29.73 kB / 0.6048 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.8717, allocations: 0.5545 MB / 0.6054 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/0.8722, allocations: 0.8791 MB / 0.6062 GB, free: 13.3 MB / 426.7 MB Notification: Performance of SimCode: time 3.7e-07/0.8722, allocations: 4 kB / 0.6062 GB, free: 13.29 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1)