Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.001696/0.001696, allocations: 201.2 kB / 8.538 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.189/1.189, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008665/0.0008666, allocations: 100 kB / 286.3 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1691/0.1691, allocations: 45.14 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2143/0.3835, allocations: 69.39 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09602/0.4795, allocations: 63.24 MB / 0.5039 GB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2848/0.7644, allocations: 98.28 MB / 0.5999 GB, free: 4.484 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.7646, allocations: 92.39 kB / 0.5999 GB, free: 4.434 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.04274/0.8074, allocations: 15.03 MB / 0.6146 GB, free: 7.648 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.8074, allocations: 8 kB / 0.6146 GB, free: 7.641 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.928e-05/0.8075, allocations: 47.42 kB / 0.6147 GB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.8079, allocations: 268.9 kB / 0.6149 GB, free: 7.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.8079, allocations: 16 kB / 0.6149 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.808, allocations: 20 kB / 0.615 GB, free: 7.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006022/0.8086, allocations: 0.4966 MB / 0.6155 GB, free: 6.898 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006288/0.8092, allocations: 491.6 kB / 0.6159 GB, free: 6.508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.8092, allocations: 4 kB / 0.6159 GB, free: 6.504 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.8093, allocations: 0 / 0.6159 GB, free: 6.504 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/0.8093, allocations: 32.98 kB / 0.616 GB, free: 6.469 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.8109, allocations: 1.072 MB / 0.617 GB, free: 5.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.8115, allocations: 448.3 kB / 0.6174 GB, free: 5.078 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.8117, allocations: 149.8 kB / 0.6176 GB, free: 4.945 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.8117, allocations: 16.2 kB / 0.6176 GB, free: 4.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.8118, allocations: 37.86 kB / 0.6176 GB, free: 4.887 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.532e-06/0.8118, allocations: 0 / 0.6176 GB, free: 4.887 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005921/0.8124, allocations: 346.1 kB / 0.618 GB, free: 4.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.8124, allocations: 55.41 kB / 0.618 GB, free: 4.504 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.8125, allocations: 132.4 kB / 0.6181 GB, free: 4.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.8126, allocations: 25.7 kB / 0.6182 GB, free: 4.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.8126, allocations: 201.8 kB / 0.6184 GB, free: 4.156 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.8127, allocations: 93.12 kB / 0.6184 GB, free: 4.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.8127, allocations: 0 / 0.6184 GB, free: 4.074 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.8128, allocations: 326.3 kB / 0.6188 GB, free: 3.754 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.813, allocations: 126.5 kB / 0.6189 GB, free: 3.645 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.8132, allocations: 130.4 kB / 0.619 GB, free: 3.531 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.8134, allocations: 142.4 kB / 0.6191 GB, free: 3.402 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8134, allocations: 11.81 kB / 0.6191 GB, free: 3.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005219/0.814, allocations: 349.5 kB / 0.6195 GB, free: 3.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.814, allocations: 7.438 kB / 0.6195 GB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.814, allocations: 4 kB / 0.6195 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.814, allocations: 4 kB / 0.6195 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008795/0.8149, allocations: 158.9 kB / 0.6196 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/0.818, allocations: 5.591 MB / 0.6251 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.8182, allocations: 32.05 kB / 0.6251 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.8182, allocations: 11.98 kB / 0.6251 GB, free: 13.13 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.8183, allocations: 108.4 kB / 0.6252 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.8184, allocations: 15.81 kB / 0.6253 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008767/0.8193, allocations: 0.504 MB / 0.6258 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.8193, allocations: 8 kB / 0.6258 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.8193, allocations: 0 / 0.6258 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.8193, allocations: 0 / 0.6258 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.8198, allocations: 348.6 kB / 0.6261 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.8198, allocations: 0 / 0.6261 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008249/0.8206, allocations: 155.7 kB / 0.6262 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.8206, allocations: 4 kB / 0.6262 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.8207, allocations: 7.984 kB / 0.6263 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003128/0.8238, allocations: 5.597 MB / 0.6317 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8238, allocations: 3.906 kB / 0.6317 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005766/0.8244, allocations: 453.5 kB / 0.6322 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007318/0.8251, allocations: 0.8349 MB / 0.633 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.8252, allocations: 92.86 kB / 0.6331 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.8253, allocations: 0 / 0.6331 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.8255, allocations: 11.98 kB / 0.6331 GB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.8255, allocations: 23.84 kB / 0.6331 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.8256, allocations: 11.98 kB / 0.6331 GB, free: 4.895 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.381e-05/0.8257, allocations: 122.5 kB / 0.6332 GB, free: 4.785 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001214/0.8269, allocations: 190.9 kB / 0.6334 GB, free: 4.617 MB / 426.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 (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {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.0004522/0.8273, allocations: 272.3 kB / 0.6337 GB, free: 4.344 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.8286, allocations: 435.5 kB / 0.6341 GB, free: 3.949 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8286, allocations: 0 / 0.6341 GB, free: 3.949 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.8297, allocations: 309 kB / 0.6344 GB, free: 3.664 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.8299, allocations: 19.86 kB / 0.6344 GB, free: 3.645 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.8313, allocations: 0.5413 MB / 0.6349 GB, free: 3.109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007217/0.832, allocations: 0.901 MB / 0.6358 GB, free: 2.191 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.832, allocations: 0 / 0.6358 GB, free: 2.191 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat