Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.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_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_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 trunk/package.mo): time 0.001143/0.001143, allocations: 202.1 kB / 8.543 MB, free: 1.793 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.222/1.222, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008708/0.0008709, allocations: 88.97 kB / 286.3 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1744/0.1744, allocations: 45.14 MB / 383.3 MB, free: 500 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2187/0.3932, allocations: 69.38 MB / 452.7 MB, free: 76.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08437/0.4776, allocations: 63.25 MB / 0.5039 GB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2701/0.7478, allocations: 90.17 MB / 0.5919 GB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.7481, allocations: 94.02 kB / 0.592 GB, free: 12.49 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.01444/0.7625, allocations: 5.189 MB / 0.5971 GB, free: 8.078 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.7626, allocations: 12 kB / 0.5971 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000587/0.7631, allocations: 83.33 kB / 0.5972 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.7634, allocations: 217.5 kB / 0.5974 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.7634, allocations: 4 kB / 0.5974 GB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.7635, allocations: 4 kB / 0.5974 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003327/0.7638, allocations: 211.1 kB / 0.5976 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.7641, allocations: 224.5 kB / 0.5978 GB, free: 7.371 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.7641, allocations: 0 / 0.5978 GB, free: 7.371 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.7641, allocations: 7.906 kB / 0.5978 GB, free: 7.363 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.7642, allocations: 15.98 kB / 0.5978 GB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.7653, allocations: 0.6065 MB / 0.5984 GB, free: 6.742 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.7657, allocations: 218.2 kB / 0.5986 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.7658, allocations: 71.41 kB / 0.5987 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.7658, allocations: 12.16 kB / 0.5987 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.7659, allocations: 38.56 kB / 0.5988 GB, free: 6.422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.7659, allocations: 0 / 0.5988 GB, free: 6.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003835/0.7663, allocations: 191 kB / 0.5989 GB, free: 6.246 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.7663, allocations: 51.41 kB / 0.599 GB, free: 6.184 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.7664, allocations: 159.9 kB / 0.5991 GB, free: 6.035 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.7665, allocations: 25.7 kB / 0.5992 GB, free: 6.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.7665, allocations: 119.4 kB / 0.5993 GB, free: 5.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.7666, allocations: 46.02 kB / 0.5993 GB, free: 5.844 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.7666, allocations: 4 kB / 0.5993 GB, free: 5.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7667, allocations: 322.2 kB / 0.5996 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.7669, allocations: 74.19 kB / 0.5997 GB, free: 5.457 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.767, allocations: 103.1 kB / 0.5998 GB, free: 5.355 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.7671, allocations: 83.66 kB / 0.5999 GB, free: 5.281 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7671, allocations: 4 kB / 0.5999 GB, free: 5.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000364/0.7675, allocations: 224.1 kB / 0.6001 GB, free: 5.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.7675, allocations: 4 kB / 0.6001 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7675, allocations: 0 / 0.6001 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.7675, allocations: 4 kB / 0.6001 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/0.7703, allocations: 262.3 kB / 0.6004 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007725/0.7781, allocations: 8.103 MB / 0.6083 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.7783, allocations: 23.86 kB / 0.6083 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.7784, allocations: 7.312 kB / 0.6083 GB, free: 12.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.7785, allocations: 113 kB / 0.6084 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.7786, allocations: 11.91 kB / 0.6084 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/0.779, allocations: 211 kB / 0.6086 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.779, allocations: 4 kB / 0.6086 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.779, allocations: 0 / 0.6086 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.779, allocations: 3.906 kB / 0.6086 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.7793, allocations: 226 kB / 0.6088 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7793, allocations: 0 / 0.6088 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001933/0.7813, allocations: 207.7 kB / 0.609 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.7813, allocations: 0 / 0.609 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.7813, allocations: 4 kB / 0.6091 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006474/0.7878, allocations: 7.769 MB / 0.6166 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.7878, allocations: 256 / 0.6166 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003349/0.7882, allocations: 268.4 kB / 0.6169 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004352/0.7886, allocations: 0.6161 MB / 0.6175 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.7887, allocations: 96.86 kB / 0.6176 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.7887, allocations: 0 / 0.6176 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.7889, allocations: 15.98 kB / 0.6176 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/0.789, allocations: 14.64 kB / 0.6176 GB, free: 2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.789, allocations: 4 kB / 0.6176 GB, free: 1.996 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000132/0.7892, allocations: 143.6 kB / 0.6178 GB, free: 1.867 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00118/0.7903, allocations: 62.91 kB / 0.6178 GB, free: 1.809 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 (13): * 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): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002112/0.7906, allocations: 119.1 kB / 0.6179 GB, free: 1.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.7917, allocations: 259.9 kB / 0.6182 GB, free: 1.441 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.7917, allocations: 0 / 0.6182 GB, free: 1.441 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006641/0.7924, allocations: 145.3 kB / 0.6183 GB, free: 1.312 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.7926, allocations: 15.06 kB / 0.6183 GB, free: 1.301 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.7944, allocations: 378.3 kB / 0.6187 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006131/0.795, allocations: 0.8272 MB / 0.6195 GB, free: 84 kB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.795, allocations: 0 / 0.6195 GB, free: 84 kB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat