Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Network.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.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") [: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.00377/0.00377, allocations: 181 kB / 7.454 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.04505/0.04505, allocations: 8.704 MB / 16.57 MB, free: 484 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.208/1.208, allocations: 221.4 MB / 240.5 MB, free: 8.176 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.001002/0.001002, allocations: 98.98 kB / 293.5 MB, free: 5.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.592e-06/6.683e-06, allocations: 0 / 352.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2093, allocations: 52.54 MB / 404.6 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08807/0.2974, allocations: 76.85 MB / 481.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.2976, allocations: 57.14 kB / 481.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.003823/0.3015, allocations: 1.327 MB / 482.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.3015, allocations: 4 kB / 482.9 MB, free: 12.4 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0003636/0.3019, allocations: 370.2 kB / 483.2 MB, free: 12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3019, allocations: 8.031 kB / 483.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.3019, allocations: 15.81 kB / 483.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3021, allocations: 178.9 kB / 483.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3021, allocations: 0 / 483.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.3021, allocations: 9.938 kB / 483.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001404/0.3023, allocations: 44 kB / 483.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.3024, allocations: 78.28 kB / 483.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3024, allocations: 3.906 kB / 483.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3025, allocations: 0 / 483.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3025, allocations: 8 kB / 483.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.3032, allocations: 469.9 kB / 484 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.3034, allocations: 65.64 kB / 484.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.972e-05/0.3035, allocations: 40.98 kB / 484.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.3035, allocations: 7.984 kB / 484.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.3035, allocations: 34.55 kB / 484.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.3035, allocations: 0 / 484.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003062/0.3039, allocations: 86.45 kB / 484.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.3039, allocations: 55.41 kB / 484.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.775e-05/0.304, allocations: 104.9 kB / 484.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.304, allocations: 29.7 kB / 484.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.3041, allocations: 103.9 kB / 484.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.3041, allocations: 15.66 kB / 484.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.3041, allocations: 3.938 kB / 484.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3043, allocations: 326.7 kB / 484.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.274e-05/0.3043, allocations: 19.94 kB / 484.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.424e-05/0.3043, allocations: 29.72 kB / 484.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.034e-05/0.3044, allocations: 19.98 kB / 484.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3044, allocations: 4 kB / 484.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002006/0.3046, allocations: 98.56 kB / 485 MB, free: 9.992 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3046, allocations: 8.094 kB / 485 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3046, allocations: 3.938 kB / 485 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.3048, allocations: 28.88 kB / 485.1 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/0.3049, allocations: 12 kB / 485.1 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.306, allocations: 1.26 MB / 486.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.427e-05/0.306, allocations: 11.84 kB / 486.4 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.306, allocations: 4 kB / 486.4 MB, free: 8.547 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.931e-05/0.3061, allocations: 105 kB / 486.5 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.3062, allocations: 7.906 kB / 486.5 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.3062, allocations: 12.41 kB / 486.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3062, allocations: 4.203 kB / 486.5 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3062, allocations: 4 kB / 486.5 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3062, allocations: 3.984 kB / 486.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.3064, allocations: 170.1 kB / 486.7 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3064, allocations: 0 / 486.7 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.521e-05/0.3065, allocations: 15.94 kB / 486.7 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.764e-05/0.3066, allocations: 24.84 kB / 486.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.3066, allocations: 0 / 486.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000864/0.3075, allocations: 1.256 MB / 488 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3075, allocations: 0 / 488 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002508/0.3077, allocations: 216.3 kB / 488.2 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.3078, allocations: 88.95 kB / 488.3 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.3078, allocations: 4 kB / 488.3 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.3079, allocations: 0 / 488.3 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.3079, allocations: 7.984 kB / 488.3 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.3079, allocations: 0 / 488.3 MB, free: 6.441 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.331e-05/0.308, allocations: 91.25 kB / 488.4 MB, free: 6.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002557/0.3082, allocations: 28 kB / 488.4 MB, free: 6.324 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001173/0.3084, allocations: 95.23 kB / 488.5 MB, free: 6.223 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.3086, allocations: 154 kB / 488.6 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3086, allocations: 3.938 kB / 488.6 MB, free: 6.059 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.3088, allocations: 134.1 kB / 488.8 MB, free: 5.918 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.309, allocations: 8.188 kB / 488.8 MB, free: 5.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.3094, allocations: 196.3 kB / 489 MB, free: 5.688 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.3096, allocations: 0.7146 MB / 489.7 MB, free: 4.949 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3096, allocations: 0 / 489.7 MB, free: 4.949 MB / 362.7 MB Notification: Performance of Templates: time 0.002859/0.3125, allocations: 0.9778 MB / 490.7 MB, free: 3.98 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.Thermal.Network.makefile (rm -f HanserModelica_HanserModelica.Thermal.Network.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Network.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Network.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Network.sim & ./HanserModelica_HanserModelica.Thermal.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1)