Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.TestLongRod.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") [: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 4.0.0+maint.om/package.mo): time 0.003441/0.003441, allocations: 179.4 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0606/0.0606, allocations: 8.709 MB / 16.58 MB, free: 448 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 221.4 MB / 240.5 MB, free: 8.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009852/0.0009853, allocations: 101.9 kB / 293.5 MB, free: 7.434 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.851e-06/5.881e-06, allocations: 0 / 352.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2389, allocations: 52.54 MB / 404.6 MB, free: 26.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.3686, allocations: 77.56 MB / 482.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.3689, allocations: 67.95 kB / 482.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.01985/0.3888, allocations: 4.857 MB / 487.1 MB, free: 8.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.055e-05/0.3889, allocations: 16 kB / 487.1 MB, free: 8.402 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001122/0.39, allocations: 0.5334 MB / 487.6 MB, free: 7.824 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.39, allocations: 8.031 kB / 487.7 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.3902, allocations: 39.53 kB / 487.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007088/0.3909, allocations: 319.5 kB / 488 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.391, allocations: 8 kB / 488 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/0.3911, allocations: 23.89 kB / 488 MB, free: 7.395 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009587/0.392, allocations: 317.2 kB / 488.3 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009007/0.3929, allocations: 320.7 kB / 488.7 MB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.393, allocations: 3.938 kB / 488.7 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/0.393, allocations: 0 / 488.7 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.615e-05/0.3931, allocations: 16.59 kB / 488.7 MB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.3958, allocations: 1.358 MB / 490 MB, free: 5.273 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007963/0.3966, allocations: 277.7 kB / 490.3 MB, free: 4.996 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.3971, allocations: 176.8 kB / 490.5 MB, free: 4.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3971, allocations: 0 / 490.5 MB, free: 4.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.3971, allocations: 38.56 kB / 490.5 MB, free: 4.773 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.114e-06/0.3971, allocations: 0 / 490.5 MB, free: 4.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001175/0.3983, allocations: 385.8 kB / 490.9 MB, free: 4.383 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.3984, allocations: 51.41 kB / 490.9 MB, free: 4.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.3987, allocations: 181.3 kB / 491.1 MB, free: 4.137 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.3987, allocations: 25.7 kB / 491.1 MB, free: 4.105 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.3989, allocations: 168.1 kB / 491.3 MB, free: 3.934 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.399, allocations: 74.84 kB / 491.4 MB, free: 3.859 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/0.399, allocations: 0 / 491.4 MB, free: 3.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3992, allocations: 330.8 kB / 491.7 MB, free: 3.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.3995, allocations: 111.9 kB / 491.8 MB, free: 3.418 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.3997, allocations: 112 kB / 491.9 MB, free: 3.309 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.4001, allocations: 141.4 kB / 492.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4001, allocations: 3.906 kB / 492.1 MB, free: 3.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001151/0.4013, allocations: 412.1 kB / 492.5 MB, free: 2.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4013, allocations: 4 kB / 492.5 MB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4013, allocations: 0 / 492.5 MB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006144/0.402, allocations: 130.5 kB / 492.6 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.4023, allocations: 39.97 kB / 492.6 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005836/0.4082, allocations: 4.473 MB / 497.1 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.4085, allocations: 27.94 kB / 497.1 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.4086, allocations: 8 kB / 497.1 MB, free: 13.71 MB / 378.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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.4087, allocations: 104.9 kB / 497.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.949e-05/0.4088, allocations: 23.81 kB / 497.3 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.409, allocations: 29.73 kB / 497.3 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.409, allocations: 0 / 497.3 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.409, allocations: 4 kB / 497.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.409, allocations: 192 / 497.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007693/0.4098, allocations: 369.8 kB / 497.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.4098, allocations: 7.891 kB / 497.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.4102, allocations: 43.91 kB / 497.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005598/0.4108, allocations: 134.5 kB / 497.8 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.4109, allocations: 3.984 kB / 497.9 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005666/0.4165, allocations: 4.47 MB / 0.4906 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4166, allocations: 0 / 0.4906 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00154/0.4181, allocations: 0.6567 MB / 0.4912 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.4183, allocations: 97.14 kB / 0.4913 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/0.4183, allocations: 11.98 kB / 0.4913 GB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.4187, allocations: 11.98 kB / 0.4913 GB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.4187, allocations: 7.984 kB / 0.4913 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.4188, allocations: 15.89 kB / 0.4913 GB, free: 7.297 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002148/0.419, allocations: 156.2 kB / 0.4915 GB, free: 7.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001133/0.4202, allocations: 103.7 kB / 0.4916 GB, free: 7.043 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (longRod.shortRod[1].heatCapacitor.T,longRod.shortRod[2].heatCapacitor.T,longRod.shortRod[3].heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001725/0.4204, allocations: 103.2 kB / 0.4917 GB, free: 6.934 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.4216, allocations: 0.5872 MB / 0.4922 GB, free: 6.316 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4216, allocations: 0 / 0.4922 GB, free: 6.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007766/0.4224, allocations: 477.1 kB / 0.4927 GB, free: 5.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.4229, allocations: 32.91 kB / 0.4927 GB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.4249, allocations: 0.6819 MB / 0.4934 GB, free: 5.074 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007796/0.4257, allocations: 0.8663 MB / 0.4942 GB, free: 4.18 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4257, allocations: 0 / 0.4942 GB, free: 4.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01159/0.4373, allocations: 3.737 MB / 0.4979 GB, free: 484 kB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Thermal.TestLongRod.makefile (rm -f HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.TestLongRod.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.TestLongRod.pipe >> ../files/HanserModelica_HanserModelica.Thermal.TestLongRod.sim & ./HanserModelica_HanserModelica.Thermal.TestLongRod -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.TestLongRod.pipe 2>&1)