Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",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.0009273/0.0009273, allocations: 174.8 kB / 8.517 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.152/1.152, allocations: 221.4 MB / 230.3 MB, free: 7.793 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.0009788/0.0009788, allocations: 76.75 kB / 281.2 MB, free: 5.547 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.1704/0.1704, allocations: 44.16 MB / 376.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1815/0.352, allocations: 68.06 MB / 444.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09757/0.4495, allocations: 61.91 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2661/0.7157, allocations: 91.13 MB / 0.5832 GB, free: 5.633 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.716, allocations: 98.67 kB / 0.5833 GB, free: 5.543 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.02253/0.7385, allocations: 7.902 MB / 0.591 GB, free: 13.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.7386, allocations: 11.94 kB / 0.591 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.7386, allocations: 19.72 kB / 0.591 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.7389, allocations: 227.9 kB / 0.5913 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.7389, allocations: 7.984 kB / 0.5913 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.7389, allocations: 4 kB / 0.5913 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002493/0.7392, allocations: 132.4 kB / 0.5914 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.7395, allocations: 230.4 kB / 0.5916 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.7395, allocations: 0 / 0.5916 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.7396, allocations: 0 / 0.5916 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.7396, allocations: 20.16 kB / 0.5916 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.7407, allocations: 0.7635 MB / 0.5924 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.7409, allocations: 159.7 kB / 0.5925 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.741, allocations: 78.53 kB / 0.5926 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.7411, allocations: 16.02 kB / 0.5926 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.7411, allocations: 42.5 kB / 0.5927 GB, free: 11.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.522e-06/0.7411, allocations: 0 / 0.5927 GB, free: 11.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003995/0.7415, allocations: 173.3 kB / 0.5928 GB, free: 11.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.7416, allocations: 106.8 kB / 0.5929 GB, free: 11.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.7417, allocations: 170.7 kB / 0.5931 GB, free: 11.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.7418, allocations: 25.7 kB / 0.5931 GB, free: 11.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.7418, allocations: 128 kB / 0.5932 GB, free: 11.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.7419, allocations: 35.45 kB / 0.5933 GB, free: 11.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.7419, allocations: 4.062 kB / 0.5933 GB, free: 11.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.742, allocations: 326.9 kB / 0.5936 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.7421, allocations: 71.83 kB / 0.5937 GB, free: 10.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.7423, allocations: 108 kB / 0.5938 GB, free: 10.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.7424, allocations: 83.92 kB / 0.5938 GB, free: 10.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7424, allocations: 0 / 0.5938 GB, free: 10.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003798/0.7428, allocations: 217.2 kB / 0.594 GB, free: 10.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.7428, allocations: 4 kB / 0.5941 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.7429, allocations: 8 kB / 0.5941 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.7429, allocations: 4 kB / 0.5941 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.7432, allocations: 52.05 kB / 0.5941 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.7432, allocations: 4 kB / 0.5941 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.7434, allocations: 39.81 kB / 0.5942 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.7435, allocations: 4 kB / 0.5942 GB, free: 10.08 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 (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 8.51e-05/0.7436, allocations: 101 kB / 0.5943 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.565e-05/0.7437, allocations: 19.75 kB / 0.5943 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.744, allocations: 211.6 kB / 0.5945 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.7441, allocations: 8 kB / 0.5945 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.7441, allocations: 0 / 0.5945 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.7441, allocations: 7.984 kB / 0.5945 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.7444, allocations: 226 kB / 0.5947 GB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/0.7445, allocations: 7.984 kB / 0.5947 GB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.7447, allocations: 47.91 kB / 0.5948 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.7447, allocations: 0 / 0.5948 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.7447, allocations: 7.984 kB / 0.5948 GB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7447, allocations: 4 kB / 0.5948 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7448, allocations: 0 / 0.5948 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004148/0.7452, allocations: 445.2 kB / 0.5952 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005485/0.7457, allocations: 0.8178 MB / 0.596 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.7458, allocations: 100.8 kB / 0.5961 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.7459, allocations: 0 / 0.5961 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.7462, allocations: 19.98 kB / 0.5961 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.7462, allocations: 23.97 kB / 0.5961 GB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.7463, allocations: 4 kB / 0.5961 GB, free: 7.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001098/0.7464, allocations: 137.2 kB / 0.5963 GB, free: 7.789 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001037/0.7474, allocations: 79.83 kB / 0.5963 GB, free: 7.711 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.0003506/0.7478, allocations: 155.1 kB / 0.5965 GB, free: 7.547 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003793/0.7482, allocations: 233.2 kB / 0.5967 GB, free: 7.301 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.7482, allocations: 4.062 kB / 0.5967 GB, free: 7.297 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.7484, allocations: 157 kB / 0.5969 GB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.7487, allocations: 24.08 kB / 0.5969 GB, free: 7.098 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008714/0.7496, allocations: 293.6 kB / 0.5972 GB, free: 6.781 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.75, allocations: 0.7734 MB / 0.5979 GB, free: 5.984 MB / 410.7 MB Notification: Performance of SimCode: time 1.913e-06/0.75, allocations: 0 / 0.5979 GB, free: 5.984 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1)