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_KC.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_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 174.8 kB / 8.518 MB, free: 1.832 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.214/1.214, allocations: 221.4 MB / 230.3 MB, free: 7.66 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.0008621/0.0008621, allocations: 86.48 kB / 281.2 MB, free: 5.484 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.1595/0.1595, allocations: 44.14 MB / 376.1 MB, free: 3.125 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1856/0.3452, allocations: 68.06 MB / 444.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.44, allocations: 61.91 MB / 0.4942 GB, free: 1.375 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2634/0.7035, allocations: 92.23 MB / 0.5843 GB, free: 4.285 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.7037, allocations: 95.77 kB / 0.5844 GB, free: 4.195 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.02664/0.7304, allocations: 9.937 MB / 0.5941 GB, free: 10.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.7305, allocations: 11.94 kB / 0.5941 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.7305, allocations: 43.53 kB / 0.5941 GB, free: 10 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.7309, allocations: 283.1 kB / 0.5944 GB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.7309, allocations: 12 kB / 0.5944 GB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.731, allocations: 24 kB / 0.5944 GB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006135/0.7316, allocations: 0.4936 MB / 0.5949 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006308/0.7323, allocations: 491.2 kB / 0.5954 GB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.7323, allocations: 3.984 kB / 0.5954 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.7323, allocations: 0 / 0.5954 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/0.7324, allocations: 36.97 kB / 0.5954 GB, free: 8.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.734, allocations: 1.061 MB / 0.5964 GB, free: 7.523 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005956/0.7346, allocations: 451.8 kB / 0.5969 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.7348, allocations: 141.2 kB / 0.597 GB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.7348, allocations: 8.234 kB / 0.597 GB, free: 6.926 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.7348, allocations: 34.8 kB / 0.597 GB, free: 6.883 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/0.7348, allocations: 0.9375 kB / 0.5971 GB, free: 6.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005716/0.7354, allocations: 356.4 kB / 0.5974 GB, free: 6.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.7355, allocations: 55.41 kB / 0.5974 GB, free: 6.465 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.936e-05/0.7356, allocations: 135.4 kB / 0.5976 GB, free: 6.328 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.7356, allocations: 25.7 kB / 0.5976 GB, free: 6.297 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.7357, allocations: 196.1 kB / 0.5978 GB, free: 6.102 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.175e-05/0.7357, allocations: 94.56 kB / 0.5979 GB, free: 6.008 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/0.7358, allocations: 0 / 0.5979 GB, free: 6.008 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.7359, allocations: 330.8 kB / 0.5982 GB, free: 5.676 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.7361, allocations: 127.9 kB / 0.5983 GB, free: 5.547 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.7362, allocations: 131.8 kB / 0.5984 GB, free: 5.418 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.7365, allocations: 151.8 kB / 0.5986 GB, free: 5.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7365, allocations: 0 / 0.5986 GB, free: 5.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004979/0.737, allocations: 345.2 kB / 0.5989 GB, free: 4.926 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.737, allocations: 4 kB / 0.5989 GB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.737, allocations: 0 / 0.5989 GB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.737, allocations: 4 kB / 0.5989 GB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008717/0.7379, allocations: 159.8 kB / 0.5991 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/0.7405, allocations: 5.598 MB / 0.6045 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.7407, allocations: 23.86 kB / 0.6046 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.7408, allocations: 11.91 kB / 0.6046 GB, free: 14.92 MB / 426.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 9.375e-05/0.7409, allocations: 110 kB / 0.6047 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.7409, allocations: 23.8 kB / 0.6047 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007983/0.7417, allocations: 0.4908 MB / 0.6052 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.7417, allocations: 7.906 kB / 0.6052 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7417, allocations: 0 / 0.6052 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.7418, allocations: 3.984 kB / 0.6052 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.7421, allocations: 345.8 kB / 0.6055 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.7421, allocations: 4 kB / 0.6055 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008138/0.743, allocations: 159.8 kB / 0.6057 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.743, allocations: 4 kB / 0.6057 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.743, allocations: 11.98 kB / 0.6057 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/0.7457, allocations: 5.59 MB / 0.6112 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7457, allocations: 288 / 0.6112 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00052/0.7463, allocations: 463 kB / 0.6116 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00061/0.7469, allocations: 0.8161 MB / 0.6124 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.7469, allocations: 96.77 kB / 0.6125 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.747, allocations: 7.922 kB / 0.6125 GB, free: 6.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.7472, allocations: 12 kB / 0.6125 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.7473, allocations: 23.95 kB / 0.6125 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.7473, allocations: 12 kB / 0.6125 GB, free: 6.453 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.291e-05/0.7474, allocations: 114.3 kB / 0.6126 GB, free: 6.344 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009756/0.7483, allocations: 139.4 kB / 0.6128 GB, free: 6.207 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.000258/0.7486, allocations: 177.9 kB / 0.6129 GB, free: 6.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.7498, allocations: 439.5 kB / 0.6134 GB, free: 5.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.7498, allocations: 0 / 0.6134 GB, free: 5.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009758/0.7508, allocations: 303.7 kB / 0.6137 GB, free: 5.293 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.7511, allocations: 23.83 kB / 0.6137 GB, free: 5.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009862/0.752, allocations: 0.5599 MB / 0.6142 GB, free: 4.688 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004251/0.7525, allocations: 0.8919 MB / 0.6151 GB, free: 3.766 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7525, allocations: 0 / 0.6151 GB, free: 3.766 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat