Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.00192/0.001921, allocations: 200.2 kB / 8.54 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009406/0.0009407, allocations: 92.36 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1667/0.1667, allocations: 45.14 MB / 383.3 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2058/0.3726, allocations: 69.39 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08431/0.4569, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2666/0.7236, allocations: 99.05 MB / 0.6006 GB, free: 3.723 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.7238, allocations: 94.52 kB / 0.6007 GB, free: 3.672 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.05505/0.7789, allocations: 21.14 MB / 0.6214 GB, free: 1.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.779, allocations: 11.94 kB / 0.6214 GB, free: 1.758 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.7792, allocations: 51.34 kB / 0.6214 GB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006027/0.7798, allocations: 308.4 kB / 0.6217 GB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.7799, allocations: 23.91 kB / 0.6217 GB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.78, allocations: 28 kB / 0.6218 GB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009691/0.7809, allocations: 0.6448 MB / 0.6224 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/0.7819, allocations: 0.6144 MB / 0.623 GB, free: 356 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.7819, allocations: 0 / 0.623 GB, free: 356 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.782, allocations: 3.984 kB / 0.623 GB, free: 352 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/0.7821, allocations: 48.53 kB / 0.623 GB, free: 308 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.7844, allocations: 1.317 MB / 0.6243 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000767/0.7851, allocations: 0.5464 MB / 0.6249 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.7854, allocations: 178.2 kB / 0.625 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.7855, allocations: 13.73 kB / 0.625 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.7855, allocations: 37.62 kB / 0.6251 GB, free: 14.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/0.7855, allocations: 4 kB / 0.6251 GB, free: 14.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007752/0.7863, allocations: 430.4 kB / 0.6255 GB, free: 14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.7863, allocations: 55.41 kB / 0.6255 GB, free: 13.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.7865, allocations: 194.7 kB / 0.6257 GB, free: 13.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.7866, allocations: 25.7 kB / 0.6258 GB, free: 13.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.7867, allocations: 242.2 kB / 0.626 GB, free: 13.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.944e-05/0.7868, allocations: 126.5 kB / 0.6261 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.7868, allocations: 0 / 0.6261 GB, free: 13.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.7869, allocations: 337 kB / 0.6264 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.7872, allocations: 181.5 kB / 0.6266 GB, free: 12.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.7875, allocations: 315.2 kB / 0.6269 GB, free: 12.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.7879, allocations: 240.8 kB / 0.6271 GB, free: 12.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.7879, allocations: 4 kB / 0.6271 GB, free: 12.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008113/0.7887, allocations: 0.5325 MB / 0.6277 GB, free: 11.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.7887, allocations: 4 kB / 0.6277 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7887, allocations: 4 kB / 0.6277 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.7887, allocations: 8 kB / 0.6277 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.7899, allocations: 231.5 kB / 0.6279 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004275/0.7942, allocations: 7.415 MB / 0.6351 GB, free: 4.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.7945, allocations: 35.69 kB / 0.6352 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.7945, allocations: 23.48 kB / 0.6352 GB, free: 3.965 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 43 * 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.0001366/0.7947, allocations: 126.3 kB / 0.6353 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.7948, allocations: 27.62 kB / 0.6353 GB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.7958, allocations: 0.6396 MB / 0.636 GB, free: 3.227 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.7959, allocations: 7.984 kB / 0.636 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.7959, allocations: 0 / 0.636 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.7959, allocations: 4 kB / 0.636 GB, free: 3.215 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.7964, allocations: 404.4 kB / 0.6364 GB, free: 2.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7964, allocations: 0 / 0.6364 GB, free: 2.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.7974, allocations: 214.4 kB / 0.6366 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.7975, allocations: 0 / 0.6366 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.7975, allocations: 11.98 kB / 0.6366 GB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003909/0.8014, allocations: 7.396 MB / 0.6438 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.8014, allocations: 3.938 kB / 0.6438 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007/0.8021, allocations: 0.532 MB / 0.6443 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008082/0.803, allocations: 0.9082 MB / 0.6452 GB, free: 9.625 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.803, allocations: 104.7 kB / 0.6453 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.8031, allocations: 0 / 0.6453 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.8033, allocations: 15.98 kB / 0.6453 GB, free: 9.488 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-05/0.8034, allocations: 27.83 kB / 0.6453 GB, free: 9.465 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.8035, allocations: 19.23 kB / 0.6454 GB, free: 9.449 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001033/0.8036, allocations: 143.3 kB / 0.6455 GB, free: 9.324 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001273/0.8049, allocations: 230.9 kB / 0.6457 GB, free: 9.125 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.0004631/0.8053, allocations: 280.5 kB / 0.646 GB, free: 8.848 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.807, allocations: 0.5952 MB / 0.6466 GB, free: 8.297 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8071, allocations: 0 / 0.6466 GB, free: 8.297 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.8084, allocations: 390.8 kB / 0.6469 GB, free: 7.938 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.8086, allocations: 27.72 kB / 0.647 GB, free: 7.914 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.81, allocations: 0.6967 MB / 0.6477 GB, free: 7.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006092/0.8106, allocations: 0.9628 MB / 0.6486 GB, free: 6.258 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/0.8106, allocations: 0 / 0.6486 GB, free: 6.258 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat