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_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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.0009652/0.0009652, allocations: 174 kB / 8.516 MB, free: 1.855 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.139/1.139, allocations: 221.4 MB / 230.3 MB, free: 7.699 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.0008931/0.0008931, allocations: 84.72 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.1567/0.1567, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1863/0.343, allocations: 68.06 MB / 444.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.4646, allocations: 61.91 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2555/0.7201, allocations: 90.29 MB / 0.5824 GB, free: 6.418 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.7204, allocations: 99.77 kB / 0.5825 GB, free: 6.324 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.01878/0.7392, allocations: 6.907 MB / 0.5892 GB, free: 15.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.7392, allocations: 11.94 kB / 0.5892 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.7393, allocations: 15.81 kB / 0.5892 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.7395, allocations: 194.8 kB / 0.5894 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.7395, allocations: 7.906 kB / 0.5894 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.7395, allocations: 4 kB / 0.5894 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002171/0.7398, allocations: 131.9 kB / 0.5896 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.74, allocations: 146.8 kB / 0.5897 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.74, allocations: 0 / 0.5897 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.74, allocations: 0 / 0.5897 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.7401, allocations: 15.98 kB / 0.5897 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007246/0.7408, allocations: 452.7 kB / 0.5902 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.7411, allocations: 138.5 kB / 0.5903 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.687e-05/0.7412, allocations: 48.83 kB / 0.5903 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.7412, allocations: 0 / 0.5903 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.7413, allocations: 38.56 kB / 0.5904 GB, free: 14.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.7413, allocations: 0 / 0.5904 GB, free: 14.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002686/0.7416, allocations: 125.6 kB / 0.5905 GB, free: 13.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.7416, allocations: 51.5 kB / 0.5905 GB, free: 13.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.7417, allocations: 132 kB / 0.5907 GB, free: 13.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.7417, allocations: 25.7 kB / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.7418, allocations: 103.9 kB / 0.5908 GB, free: 13.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.7418, allocations: 31.55 kB / 0.5908 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.7418, allocations: 8 kB / 0.5908 GB, free: 13.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.7419, allocations: 322.7 kB / 0.5911 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.742, allocations: 43.91 kB / 0.5912 GB, free: 13.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.7421, allocations: 66.42 kB / 0.5912 GB, free: 13.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.233e-05/0.7422, allocations: 47.95 kB / 0.5913 GB, free: 13.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7422, allocations: 0 / 0.5913 GB, free: 13.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000219/0.7424, allocations: 133.5 kB / 0.5914 GB, free: 12.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.7424, allocations: 6.344 kB / 0.5914 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.7425, allocations: 4 kB / 0.5914 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.7425, allocations: 0 / 0.5914 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.7428, allocations: 59.88 kB / 0.5915 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006908/0.7435, allocations: 1.234 MB / 0.5927 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.7436, allocations: 12.02 kB / 0.5927 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.7436, allocations: 8.188 kB / 0.5927 GB, free: 11.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.542e-05/0.7437, allocations: 112.8 kB / 0.5928 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.7438, allocations: 11.91 kB / 0.5928 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.7441, allocations: 162 kB / 0.593 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.7441, allocations: 4 kB / 0.593 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.7441, allocations: 0 / 0.593 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.7441, allocations: 0 / 0.593 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.7443, allocations: 202.1 kB / 0.5932 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7443, allocations: 0 / 0.5932 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.7446, allocations: 47.95 kB / 0.5932 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.7446, allocations: 4 kB / 0.5932 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.7446, allocations: 4 kB / 0.5932 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006825/0.7453, allocations: 1.234 MB / 0.5944 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7453, allocations: 0 / 0.5944 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002162/0.7456, allocations: 223.4 kB / 0.5946 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000318/0.7459, allocations: 0.5897 MB / 0.5952 GB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.7459, allocations: 92.91 kB / 0.5953 GB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.746, allocations: 0 / 0.5953 GB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.7461, allocations: 8 kB / 0.5953 GB, free: 8.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.7462, allocations: 7.984 kB / 0.5953 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.7462, allocations: 4 kB / 0.5953 GB, free: 8.719 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.013e-05/0.7462, allocations: 107.2 kB / 0.5954 GB, free: 8.613 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008721/0.7471, allocations: 55.83 kB / 0.5955 GB, free: 8.559 MB / 410.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002242/0.7473, allocations: 143.1 kB / 0.5956 GB, free: 8.406 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003853/0.7477, allocations: 119.9 kB / 0.5957 GB, free: 8.289 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7478, allocations: 0 / 0.5957 GB, free: 8.289 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.748, allocations: 79.94 kB / 0.5958 GB, free: 8.211 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.7482, allocations: 24.59 kB / 0.5958 GB, free: 8.188 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.7487, allocations: 195.2 kB / 0.596 GB, free: 7.973 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.749, allocations: 0.7465 MB / 0.5967 GB, free: 7.199 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.749, allocations: 7.938 kB / 0.5968 GB, free: 7.191 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat