Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.001134/0.001134, allocations: 200.8 kB / 8.544 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.191/1.191, allocations: 225.5 MB / 234.4 MB, free: 3.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008666/0.0008666, allocations: 96.94 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1788/0.1788, allocations: 45.14 MB / 383.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2191/0.3979, allocations: 69.39 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08917/0.487, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2853/0.7723, allocations: 99.92 MB / 0.6015 GB, free: 2.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.7726, allocations: 104.8 kB / 0.6016 GB, free: 2.871 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.06431/0.837, allocations: 24.28 MB / 0.6253 GB, free: 14.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.837, allocations: 8 kB / 0.6253 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.979e-05/0.8371, allocations: 55.34 kB / 0.6253 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.8375, allocations: 311.1 kB / 0.6256 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.8375, allocations: 16 kB / 0.6256 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.8376, allocations: 32 kB / 0.6257 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008257/0.8384, allocations: 0.7004 MB / 0.6264 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007977/0.8392, allocations: 0.6574 MB / 0.627 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.8392, allocations: 3.906 kB / 0.627 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.8393, allocations: 3.938 kB / 0.627 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-05/0.8393, allocations: 49.22 kB / 0.6271 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.8414, allocations: 1.401 MB / 0.6284 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000757/0.8421, allocations: 0.5508 MB / 0.629 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.8424, allocations: 175 kB / 0.6291 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/0.8424, allocations: 19.78 kB / 0.6291 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.8425, allocations: 38.41 kB / 0.6292 GB, free: 10.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 1.994e-06/0.8425, allocations: 4 kB / 0.6292 GB, free: 10.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007384/0.8432, allocations: 432.2 kB / 0.6296 GB, free: 10.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.8433, allocations: 55.41 kB / 0.6297 GB, free: 10.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.8435, allocations: 255.1 kB / 0.6299 GB, free: 10.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.8435, allocations: 25.7 kB / 0.6299 GB, free: 10.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.8436, allocations: 278.3 kB / 0.6302 GB, free: 9.996 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.728e-05/0.8437, allocations: 129.5 kB / 0.6303 GB, free: 9.883 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.8438, allocations: 0 / 0.6303 GB, free: 9.883 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.8439, allocations: 342.6 kB / 0.6306 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.8442, allocations: 207.7 kB / 0.6308 GB, free: 9.375 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.8446, allocations: 442.8 kB / 0.6313 GB, free: 8.875 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.845, allocations: 297.8 kB / 0.6315 GB, free: 8.617 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.845, allocations: 4 kB / 0.6315 GB, free: 8.613 MB / 426.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009758/0.846, allocations: 0.6507 MB / 0.6322 GB, free: 8.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.846, allocations: 8 kB / 0.6322 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.846, allocations: 8 kB / 0.6322 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.846, allocations: 12 kB / 0.6322 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.8472, allocations: 247.4 kB / 0.6324 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003841/0.8511, allocations: 7.423 MB / 0.6397 GB, free: 136 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.8515, allocations: 35.67 kB / 0.6397 GB, free: 100 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.8515, allocations: 35.92 kB / 0.6398 GB, free: 68 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.8517, allocations: 138.1 kB / 0.6399 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.8518, allocations: 31.72 kB / 0.6399 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.853, allocations: 0.6742 MB / 0.6406 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.853, allocations: 4 kB / 0.6406 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.853, allocations: 0 / 0.6406 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.853, allocations: 3.984 kB / 0.6406 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/0.8536, allocations: 418.8 kB / 0.641 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8536, allocations: 0 / 0.641 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.8546, allocations: 215 kB / 0.6412 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.8546, allocations: 0 / 0.6412 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.8547, allocations: 15.98 kB / 0.6412 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003677/0.8584, allocations: 7.394 MB / 0.6484 GB, free: 7.047 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8584, allocations: 0 / 0.6484 GB, free: 7.047 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006853/0.8591, allocations: 0.5363 MB / 0.6489 GB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007771/0.8599, allocations: 0.9157 MB / 0.6498 GB, free: 5.652 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.8599, allocations: 108.7 kB / 0.6499 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/0.86, allocations: 3.984 kB / 0.65 GB, free: 5.523 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.8603, allocations: 15.92 kB / 0.65 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.8603, allocations: 23.16 kB / 0.65 GB, free: 5.488 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.8604, allocations: 15.48 kB / 0.65 GB, free: 5.477 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001466/0.8605, allocations: 175.6 kB / 0.6502 GB, free: 5.328 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001357/0.8619, allocations: 241.5 kB / 0.6504 GB, free: 5.117 MB / 442.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 (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004862/0.8624, allocations: 287 kB / 0.6507 GB, free: 4.836 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.8641, allocations: 0.661 MB / 0.6513 GB, free: 4.227 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8641, allocations: 3.938 kB / 0.6513 GB, free: 4.223 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.8654, allocations: 392.9 kB / 0.6517 GB, free: 3.863 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.8657, allocations: 27.22 kB / 0.6517 GB, free: 3.844 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.867, allocations: 0.7193 MB / 0.6524 GB, free: 3.141 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005941/0.8676, allocations: 0.9736 MB / 0.6534 GB, free: 2.16 MB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/0.8677, allocations: 0 / 0.6534 GB, free: 2.16 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat