Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",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.001763/0.001763, allocations: 174.5 kB / 8.519 MB, free: 1.824 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.159/1.159, allocations: 221.4 MB / 230.3 MB, free: 7.719 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.0009223/0.0009223, allocations: 95.19 kB / 281.2 MB, free: 5.461 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.1575/0.1575, allocations: 44.14 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.172/0.3296, allocations: 68.05 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08754/0.4172, allocations: 61.91 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2581/0.6753, allocations: 92.43 MB / 0.5845 GB, free: 3.812 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.6756, allocations: 103.7 kB / 0.5846 GB, free: 3.754 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.02726/0.7029, allocations: 10.05 MB / 0.5944 GB, free: 9.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.7029, allocations: 15.94 kB / 0.5944 GB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.703, allocations: 19.72 kB / 0.5944 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.7032, allocations: 214.8 kB / 0.5946 GB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.7033, allocations: 4 kB / 0.5946 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.7033, allocations: 11.91 kB / 0.5946 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002463/0.7035, allocations: 155.9 kB / 0.5948 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.7039, allocations: 240.3 kB / 0.595 GB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.7039, allocations: 0 / 0.595 GB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.7039, allocations: 4 kB / 0.595 GB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.7039, allocations: 8 kB / 0.595 GB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009601/0.7049, allocations: 0.7231 MB / 0.5957 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.7053, allocations: 207.8 kB / 0.5959 GB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.7054, allocations: 74.48 kB / 0.596 GB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.7055, allocations: 8.078 kB / 0.596 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.7055, allocations: 38.5 kB / 0.596 GB, free: 8.039 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.734e-06/0.7055, allocations: 3.938 kB / 0.596 GB, free: 8.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003842/0.7059, allocations: 173.4 kB / 0.5962 GB, free: 7.859 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.7059, allocations: 106.8 kB / 0.5963 GB, free: 7.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.7061, allocations: 165.4 kB / 0.5965 GB, free: 7.562 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.7061, allocations: 25.7 kB / 0.5965 GB, free: 7.531 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.7062, allocations: 136.1 kB / 0.5966 GB, free: 7.395 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.7062, allocations: 43.42 kB / 0.5967 GB, free: 7.352 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.7062, allocations: 0 / 0.5967 GB, free: 7.352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.7063, allocations: 330.8 kB / 0.597 GB, free: 7.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.985e-05/0.7064, allocations: 55.95 kB / 0.597 GB, free: 6.965 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.7066, allocations: 97.05 kB / 0.5971 GB, free: 6.852 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.7067, allocations: 71.95 kB / 0.5972 GB, free: 6.781 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7067, allocations: 0 / 0.5972 GB, free: 6.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003257/0.707, allocations: 201.2 kB / 0.5974 GB, free: 6.578 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.7071, allocations: 4 kB / 0.5974 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/0.7071, allocations: 15.98 kB / 0.5974 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.7071, allocations: 0 / 0.5974 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.7073, allocations: 44.12 kB / 0.5974 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.7073, allocations: 3.984 kB / 0.5974 GB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.7076, allocations: 39.77 kB / 0.5975 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.7076, allocations: 8 kB / 0.5975 GB, free: 6.465 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: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 7.846e-05/0.7077, allocations: 112.9 kB / 0.5976 GB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.7078, allocations: 15.81 kB / 0.5976 GB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/0.7081, allocations: 207 kB / 0.5978 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.7081, allocations: 7.906 kB / 0.5978 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7082, allocations: 0 / 0.5978 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7082, allocations: 0 / 0.5978 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.7085, allocations: 249.9 kB / 0.5981 GB, free: 5.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/0.7085, allocations: 8 kB / 0.5981 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.7087, allocations: 39.97 kB / 0.5981 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7088, allocations: 0 / 0.5981 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.7088, allocations: 7.984 kB / 0.5981 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7088, allocations: 0 / 0.5981 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7088, allocations: 4 kB / 0.5981 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003595/0.7092, allocations: 449.1 kB / 0.5985 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004834/0.7096, allocations: 0.8096 MB / 0.5993 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.7097, allocations: 92.92 kB / 0.5994 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.7098, allocations: 11.98 kB / 0.5994 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.71, allocations: 23.98 kB / 0.5994 GB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.7101, allocations: 7.984 kB / 0.5995 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.7101, allocations: 7.984 kB / 0.5995 GB, free: 4.301 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.953e-05/0.7102, allocations: 128.5 kB / 0.5996 GB, free: 4.176 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001011/0.7112, allocations: 91.77 kB / 0.5997 GB, free: 4.086 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002731/0.7115, allocations: 179.1 kB / 0.5998 GB, free: 3.898 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.7118, allocations: 217 kB / 0.6001 GB, free: 3.668 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.7119, allocations: 0 / 0.6001 GB, free: 3.668 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.712, allocations: 157 kB / 0.6002 GB, free: 3.496 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.7124, allocations: 24.08 kB / 0.6002 GB, free: 3.469 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007021/0.7131, allocations: 301.9 kB / 0.6005 GB, free: 3.141 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/0.7135, allocations: 0.7816 MB / 0.6013 GB, free: 2.332 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.7135, allocations: 3.938 kB / 0.6013 GB, free: 2.328 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1)