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_laminar.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_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 178.7 kB / 8.517 MB, free: 1.773 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.256/1.256, allocations: 221.4 MB / 230.3 MB, free: 7.777 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.0009153/0.0009152, allocations: 84.73 kB / 281.2 MB, free: 5.539 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.1594/0.1594, allocations: 44.15 MB / 376.1 MB, free: 3.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1781/0.3376, allocations: 68.06 MB / 444.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.4332, allocations: 61.9 MB / 0.4942 GB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2524/0.6857, allocations: 94.05 MB / 0.586 GB, free: 2.719 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.6859, allocations: 95.77 kB / 0.5861 GB, free: 2.629 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.03052/0.7165, allocations: 11.37 MB / 0.5972 GB, free: 7.055 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.7165, allocations: 11.94 kB / 0.5972 GB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.7166, allocations: 43.44 kB / 0.5973 GB, free: 7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.717, allocations: 274.3 kB / 0.5976 GB, free: 6.691 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.7171, allocations: 15.91 kB / 0.5976 GB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.7171, allocations: 24 kB / 0.5976 GB, free: 6.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005874/0.7177, allocations: 349.6 kB / 0.5979 GB, free: 6.309 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007438/0.7185, allocations: 0.5042 MB / 0.5984 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.7185, allocations: 0 / 0.5984 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.7185, allocations: 0 / 0.5984 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.7186, allocations: 16.78 kB / 0.5984 GB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.7203, allocations: 1.252 MB / 0.5997 GB, free: 4.469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.7207, allocations: 252.5 kB / 0.5999 GB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.7208, allocations: 110.5 kB / 0.6 GB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/0.7209, allocations: 23.86 kB / 0.6 GB, free: 4.055 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.7209, allocations: 38.5 kB / 0.6001 GB, free: 4.008 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.734e-06/0.7209, allocations: 0 / 0.6001 GB, free: 4.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005391/0.7215, allocations: 272.4 kB / 0.6003 GB, free: 3.738 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.7215, allocations: 114.7 kB / 0.6004 GB, free: 3.602 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.7217, allocations: 179 kB / 0.6006 GB, free: 3.418 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.7217, allocations: 25.7 kB / 0.6006 GB, free: 3.387 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.6e-05/0.7218, allocations: 211.6 kB / 0.6008 GB, free: 3.172 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.7219, allocations: 59.17 kB / 0.6009 GB, free: 3.113 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.7219, allocations: 0 / 0.6009 GB, free: 3.113 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.326e-05/0.722, allocations: 330.8 kB / 0.6012 GB, free: 2.781 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.7222, allocations: 104.1 kB / 0.6013 GB, free: 2.676 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.7224, allocations: 142.2 kB / 0.6014 GB, free: 2.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.7226, allocations: 123.9 kB / 0.6016 GB, free: 2.398 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7226, allocations: 0 / 0.6016 GB, free: 2.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004927/0.7231, allocations: 309.1 kB / 0.6018 GB, free: 2.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.7231, allocations: 8 kB / 0.6019 GB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.113e-05/0.7232, allocations: 27.89 kB / 0.6019 GB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.7232, allocations: 4 kB / 0.6019 GB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.7234, allocations: 48.05 kB / 0.6019 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.7234, allocations: 4 kB / 0.6019 GB, free: 2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.7237, allocations: 35.83 kB / 0.602 GB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.7237, allocations: 15.98 kB / 0.602 GB, free: 1.949 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 8.556e-05/0.7238, allocations: 105 kB / 0.6021 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.728e-05/0.7239, allocations: 19.72 kB / 0.6021 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006725/0.7246, allocations: 394.6 kB / 0.6025 GB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.7246, allocations: 0 / 0.6025 GB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7246, allocations: 4 kB / 0.6025 GB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.7246, allocations: 3.984 kB / 0.6025 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.7251, allocations: 325.9 kB / 0.6028 GB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.637e-05/0.7251, allocations: 23.98 kB / 0.6028 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.7253, allocations: 43.91 kB / 0.6029 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7253, allocations: 0 / 0.6029 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.7254, allocations: 15.89 kB / 0.6029 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.7254, allocations: 0 / 0.6029 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7254, allocations: 0 / 0.6029 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005347/0.7259, allocations: 0.5374 MB / 0.6034 GB, free: 436 kB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006456/0.7266, allocations: 0.9041 MB / 0.6043 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.7267, allocations: 88.92 kB / 0.6044 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.7267, allocations: 4 kB / 0.6044 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.727, allocations: 27.97 kB / 0.6044 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.7271, allocations: 27.88 kB / 0.6044 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.7271, allocations: 8 kB / 0.6044 GB, free: 15.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001099/0.7272, allocations: 157.4 kB / 0.6046 GB, free: 15.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001106/0.7284, allocations: 151.4 kB / 0.6047 GB, free: 15.02 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.0003281/0.7287, allocations: 205 kB / 0.6049 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005293/0.7292, allocations: 475.1 kB / 0.6054 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7292, allocations: 0 / 0.6054 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.7295, allocations: 363.2 kB / 0.6057 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.7299, allocations: 29.69 kB / 0.6058 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.7312, allocations: 0.5541 MB / 0.6063 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004282/0.7316, allocations: 0.8792 MB / 0.6072 GB, free: 12.35 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7316, allocations: 0 / 0.6072 GB, free: 12.35 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1)