Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor") [: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 3.2.2+maint.om/package.mo): time 0.001129/0.001129, allocations: 195 kB / 8.139 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.189/1.189, allocations: 194.2 MB / 202.8 MB, free: 8.656 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001784/0.001784, allocations: 121 kB / 247.7 MB, free: 6.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 9.868e-06/9.889e-06, allocations: 4 kB / 297.6 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07594/0.07597, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1943/0.2703, allocations: 72.16 MB / 414.2 MB, free: 22.97 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.2706, allocations: 74.77 kB / 414.3 MB, free: 22.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.00645/0.277, allocations: 2.379 MB / 416.7 MB, free: 21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.2771, allocations: 4 kB / 416.7 MB, free: 21 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003508/0.2774, allocations: 415 kB / 417.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2775, allocations: 12.03 kB / 417.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.2776, allocations: 15.81 kB / 417.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.2778, allocations: 198.1 kB / 417.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/0.2779, allocations: 4 kB / 417.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/0.278, allocations: 8 kB / 417.3 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001454/0.2781, allocations: 56.59 kB / 417.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.2783, allocations: 95.25 kB / 417.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2783, allocations: 6.609 kB / 417.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.2783, allocations: 0 / 417.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2783, allocations: 4 kB / 417.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008012/0.2792, allocations: 0.4903 MB / 418 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.2794, allocations: 77.56 kB / 418 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.2795, allocations: 31.88 kB / 418.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.2795, allocations: 0 / 418.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.2795, allocations: 33.62 kB / 418.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.304e-06/0.2795, allocations: 3.984 kB / 418.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.000349/0.2799, allocations: 109.1 kB / 418.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.2799, allocations: 55.41 kB / 418.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.28, allocations: 133 kB / 418.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.28, allocations: 25.7 kB / 418.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.2801, allocations: 119 kB / 418.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.2801, allocations: 23.41 kB / 418.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.2801, allocations: 0 / 418.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.2802, allocations: 318.6 kB / 418.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.085e-05/0.2802, allocations: 18.62 kB / 418.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.809e-05/0.2803, allocations: 29.02 kB / 418.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.105e-05/0.2803, allocations: 29.55 kB / 418.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2803, allocations: 0 / 418.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002109/0.2805, allocations: 117.2 kB / 419.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.2805, allocations: 4 kB / 419.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2806, allocations: 5.219 kB / 419.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/0.2807, allocations: 36.28 kB / 419.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.2808, allocations: 15.92 kB / 419.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009283/0.2817, allocations: 1.43 MB / 420.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.2818, allocations: 10.38 kB / 420.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.2819, allocations: 4.453 kB / 420.6 MB, free: 17.1 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.2819, allocations: 108.8 kB / 420.7 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.2819, allocations: 11.91 kB / 420.7 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.282, allocations: 11.75 kB / 420.7 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.282, allocations: 7.984 kB / 420.7 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.72e-07/0.282, allocations: 3.938 kB / 420.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.282, allocations: 0 / 420.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.2821, allocations: 185.3 kB / 420.9 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2821, allocations: 1.969 kB / 420.9 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.2822, allocations: 7.984 kB / 420.9 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.2823, allocations: 31.03 kB / 420.9 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.2823, allocations: 4 kB / 420.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008379/0.2832, allocations: 1.442 MB / 422.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2832, allocations: 0 / 422.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001966/0.2834, allocations: 197.6 kB / 422.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.402e-05/0.2834, allocations: 88.77 kB / 422.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.2835, allocations: 0 / 422.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2836, allocations: 12.06 kB / 422.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.2836, allocations: 3.984 kB / 422.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.2836, allocations: 0 / 422.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.495e-05/0.2837, allocations: 113.3 kB / 422.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003345/0.284, allocations: 31.91 kB / 422.8 MB, free: 14.81 MB / 314.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 (2): * Single equations (assignments): 1 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 8.535e-05/0.2841, allocations: 99.19 kB / 422.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.2843, allocations: 153.7 kB / 423.1 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2844, allocations: 4 kB / 423.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.2845, allocations: 132.3 kB / 423.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.2847, allocations: 12.8 kB / 423.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.285, allocations: 137.2 kB / 423.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.2851, allocations: 0.7302 MB / 424.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2851, allocations: 0 / 424.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of Templates: time 0.003209/0.2884, allocations: 1.32 MB / 425.4 MB, free: 12.24 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1)