Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001638/0.001638, allocations: 198.8 kB / 8.535 MB, free: 1.727 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.136/1.136, allocations: 225.5 MB / 234.4 MB, free: 15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001172/0.001172, allocations: 102.5 kB / 286.4 MB, free: 12.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3383/0.3383, allocations: 45.15 MB / 383.3 MB, free: 40.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1101/0.4485, allocations: 69.39 MB / 452.7 MB, free: 5.367 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.7164, allocations: 63.23 MB / 0.5039 GB, free: 35.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0977/0.8141, allocations: 92.2 MB / 0.5939 GB, free: 2.215 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.8144, allocations: 99.77 kB / 0.594 GB, free: 2.121 MB / 410.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.02319/0.8376, allocations: 7.997 MB / 0.6018 GB, free: 10.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.8376, allocations: 12 kB / 0.6018 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.838, allocations: 71.67 kB / 0.6019 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.8383, allocations: 220 kB / 0.6021 GB, free: 9.699 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.8383, allocations: 4 kB / 0.6021 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.8384, allocations: 4 kB / 0.6021 GB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002582/0.8386, allocations: 140.3 kB / 0.6023 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.839, allocations: 226.4 kB / 0.6025 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.839, allocations: 0 / 0.6025 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.839, allocations: 0 / 0.6025 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.839, allocations: 20.22 kB / 0.6025 GB, free: 9.293 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009953/0.84, allocations: 0.7673 MB / 0.6032 GB, free: 8.477 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.8403, allocations: 171.5 kB / 0.6034 GB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.8404, allocations: 78.53 kB / 0.6035 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.8404, allocations: 4 kB / 0.6035 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.8404, allocations: 30.56 kB / 0.6035 GB, free: 8.152 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.8405, allocations: 4 kB / 0.6035 GB, free: 8.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004174/0.8409, allocations: 173.5 kB / 0.6037 GB, free: 7.973 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.8409, allocations: 110.8 kB / 0.6038 GB, free: 7.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.8411, allocations: 174.8 kB / 0.604 GB, free: 7.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.8411, allocations: 25.7 kB / 0.604 GB, free: 7.629 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.8412, allocations: 124 kB / 0.6041 GB, free: 7.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.8413, allocations: 35.41 kB / 0.6041 GB, free: 7.465 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.8413, allocations: 0 / 0.6041 GB, free: 7.465 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.8414, allocations: 330.8 kB / 0.6044 GB, free: 7.133 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.8415, allocations: 63.95 kB / 0.6045 GB, free: 7.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.8417, allocations: 113.1 kB / 0.6046 GB, free: 6.941 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.8418, allocations: 79.95 kB / 0.6047 GB, free: 6.863 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8418, allocations: 3.938 kB / 0.6047 GB, free: 6.859 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003619/0.8422, allocations: 213.4 kB / 0.6049 GB, free: 6.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.8422, allocations: 13.97 kB / 0.6049 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.8422, allocations: 7.984 kB / 0.6049 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.8422, allocations: 4 kB / 0.6049 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.8425, allocations: 48.05 kB / 0.605 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.8425, allocations: 4 kB / 0.605 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.8428, allocations: 27.89 kB / 0.605 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.8428, allocations: 7.984 kB / 0.605 GB, free: 6.535 MB / 426.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.12e-05/0.8429, allocations: 120.8 kB / 0.6051 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.952e-05/0.843, allocations: 11.89 kB / 0.6051 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.8434, allocations: 218.8 kB / 0.6053 GB, free: 6.184 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.8434, allocations: 0 / 0.6053 GB, free: 6.184 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8434, allocations: 4 kB / 0.6053 GB, free: 6.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8434, allocations: 0 / 0.6053 GB, free: 6.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.8437, allocations: 226 kB / 0.6056 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-05/0.8438, allocations: 11.98 kB / 0.6056 GB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.844, allocations: 39.97 kB / 0.6056 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.844, allocations: 7.938 kB / 0.6056 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.844, allocations: 0 / 0.6056 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.844, allocations: 4 kB / 0.6056 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.844, allocations: 0 / 0.6056 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004067/0.8444, allocations: 453.1 kB / 0.6061 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000471/0.8449, allocations: 0.8158 MB / 0.6069 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.845, allocations: 88.92 kB / 0.6069 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.845, allocations: 4.078 kB / 0.6069 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.8453, allocations: 31.92 kB / 0.607 GB, free: 4.398 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.8454, allocations: 11.98 kB / 0.607 GB, free: 4.387 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.8454, allocations: 7.984 kB / 0.607 GB, free: 4.379 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001074/0.8455, allocations: 145.1 kB / 0.6071 GB, free: 4.238 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009795/0.8465, allocations: 79.88 kB / 0.6072 GB, free: 4.16 MB / 426.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.0002555/0.8468, allocations: 171 kB / 0.6074 GB, free: 3.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.8471, allocations: 232.9 kB / 0.6076 GB, free: 3.734 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.8471, allocations: 0 / 0.6076 GB, free: 3.734 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.8473, allocations: 153 kB / 0.6077 GB, free: 3.566 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.8476, allocations: 24.62 kB / 0.6078 GB, free: 3.539 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008202/0.8484, allocations: 300.6 kB / 0.608 GB, free: 3.219 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004071/0.8489, allocations: 0.7786 MB / 0.6088 GB, free: 2.418 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.8489, allocations: 0 / 0.6088 GB, free: 2.418 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1)