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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",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.001814/0.001814, allocations: 184.6 kB / 7.8 MB, free: 2.5 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.48/1.48, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.000943/0.0009435, allocations: 78.39 kB / 261.4 MB, free: 13.56 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.2095/0.2095, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2211/0.4307, allocations: 64.99 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.8056, allocations: 58.83 MB / 476.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.9443, allocations: 91.09 MB / 0.5545 GB, free: 7.836 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.9447, allocations: 91.94 kB / 0.5545 GB, free: 7.746 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.02861/0.9733, allocations: 9.647 MB / 0.564 GB, free: 13.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.9734, allocations: 11.98 kB / 0.564 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.9735, allocations: 43.44 kB / 0.564 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/0.974, allocations: 278.3 kB / 0.5643 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.9741, allocations: 12 kB / 0.5643 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.098e-05/0.9742, allocations: 24 kB / 0.5643 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008521/0.975, allocations: 0.4897 MB / 0.5648 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008126/0.9758, allocations: 491.2 kB / 0.5653 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.9759, allocations: 4 kB / 0.5653 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.9759, allocations: 3.938 kB / 0.5653 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.228e-05/0.976, allocations: 36.97 kB / 0.5653 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.9781, allocations: 1.061 MB / 0.5663 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000719/0.9788, allocations: 453.2 kB / 0.5668 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.9791, allocations: 145.2 kB / 0.5669 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-05/0.9791, allocations: 16.22 kB / 0.5669 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.9792, allocations: 30.8 kB / 0.567 GB, free: 10.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.366e-06/0.9792, allocations: 0 / 0.567 GB, free: 10.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007051/0.9799, allocations: 355.2 kB / 0.5673 GB, free: 10.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.98, allocations: 63.33 kB / 0.5674 GB, free: 10.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.9801, allocations: 129.4 kB / 0.5675 GB, free: 10.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.9802, allocations: 25.7 kB / 0.5675 GB, free: 10.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.9803, allocations: 192.1 kB / 0.5677 GB, free: 9.926 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.353e-05/0.9804, allocations: 98.56 kB / 0.5678 GB, free: 9.828 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/0.9805, allocations: 0 / 0.5678 GB, free: 9.828 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.9806, allocations: 330.8 kB / 0.5681 GB, free: 9.496 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.9808, allocations: 123.9 kB / 0.5682 GB, free: 9.375 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.981, allocations: 123.9 kB / 0.5683 GB, free: 9.254 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.9813, allocations: 151.8 kB / 0.5685 GB, free: 9.105 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9813, allocations: 0 / 0.5685 GB, free: 9.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005681/0.9818, allocations: 353.9 kB / 0.5688 GB, free: 8.754 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.9819, allocations: 7.938 kB / 0.5688 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.9819, allocations: 0 / 0.5688 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.9819, allocations: 4 kB / 0.5688 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/0.9829, allocations: 159.8 kB / 0.569 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003563/0.9864, allocations: 5.599 MB / 0.5744 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.9867, allocations: 24.06 kB / 0.5745 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.9867, allocations: 11.98 kB / 0.5745 GB, free: 2.742 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.9869, allocations: 116.2 kB / 0.5746 GB, free: 2.625 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.9869, allocations: 15.81 kB / 0.5746 GB, free: 2.609 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008835/0.9878, allocations: 0.4907 MB / 0.5751 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.9878, allocations: 4 kB / 0.5751 GB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.9878, allocations: 4 kB / 0.5751 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.9879, allocations: 3.984 kB / 0.5751 GB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.9884, allocations: 349.8 kB / 0.5754 GB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.9884, allocations: 0 / 0.5754 GB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008207/0.9892, allocations: 159.8 kB / 0.5756 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.9892, allocations: 4 kB / 0.5756 GB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.9893, allocations: 7.984 kB / 0.5756 GB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003401/0.9927, allocations: 5.602 MB / 0.5811 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.9927, allocations: 0 / 0.5811 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006004/0.9933, allocations: 459 kB / 0.5815 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007256/0.9941, allocations: 0.8243 MB / 0.5823 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.291e-05/0.9941, allocations: 96.86 kB / 0.5824 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.9942, allocations: 0 / 0.5824 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.9944, allocations: 15.92 kB / 0.5824 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.9945, allocations: 15.97 kB / 0.5824 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.941e-05/0.9945, allocations: 15.98 kB / 0.5824 GB, free: 10.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.327e-05/0.9946, allocations: 108.1 kB / 0.5825 GB, free: 10.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001208/0.9959, allocations: 139.4 kB / 0.5827 GB, free: 10.03 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004048/0.9963, allocations: 177 kB / 0.5828 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.9976, allocations: 435.6 kB / 0.5833 GB, free: 9.422 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9977, allocations: 0 / 0.5833 GB, free: 9.422 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.9987, allocations: 299.7 kB / 0.5835 GB, free: 9.129 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.999, allocations: 24.53 kB / 0.5836 GB, free: 9.105 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/1, allocations: 0.5443 MB / 0.5841 GB, free: 8.535 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/1.001, allocations: 0.8997 MB / 0.585 GB, free: 7.602 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/1.001, allocations: 0 / 0.585 GB, free: 7.602 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat