Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.006587/0.006587, allocations: 190.3 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.426/1.426, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001934/0.001934, allocations: 107.9 kB / 217.7 MB, free: 8.137 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.121e-05/1.122e-05, allocations: 4 kB / 261.7 MB, free: 26.49 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08366/0.08369, allocations: 38.76 MB / 300.5 MB, free: 3.738 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2291/0.3128, allocations: 66.98 MB / 367.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.3131, allocations: 65.94 kB / 367.6 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.007294/0.3204, allocations: 2.413 MB / 370 MB, free: 15.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.3204, allocations: 0 / 370 MB, free: 15.18 MB / 266.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.0004852/0.3209, allocations: 417 kB / 370.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.321, allocations: 12.02 kB / 370.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.3211, allocations: 20.73 kB / 370.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.3214, allocations: 199.7 kB / 370.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3214, allocations: 7.906 kB / 370.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.3214, allocations: 8 kB / 370.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001599/0.3216, allocations: 65.89 kB / 370.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3218, allocations: 93.5 kB / 370.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3218, allocations: 0 / 370.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3218, allocations: 0 / 370.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.3218, allocations: 4 kB / 370.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007973/0.3226, allocations: 0.5039 MB / 371.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.3229, allocations: 74.33 kB / 371.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.3229, allocations: 23.23 kB / 371.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.323, allocations: 7.984 kB / 371.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.323, allocations: 33.69 kB / 371.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.323, allocations: 1.422 kB / 371.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000318/0.3233, allocations: 104 kB / 371.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.3234, allocations: 51.41 kB / 371.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3235, allocations: 140.8 kB / 371.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3236, allocations: 25.7 kB / 371.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.3236, allocations: 119.5 kB / 371.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.3237, allocations: 23.64 kB / 371.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.3237, allocations: 0 / 371.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3238, allocations: 318.8 kB / 372.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.3238, allocations: 14.06 kB / 372.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-05/0.3239, allocations: 34.08 kB / 372.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.728e-05/0.3239, allocations: 27.11 kB / 372.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.324, allocations: 0 / 372.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002629/0.3242, allocations: 120.3 kB / 372.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3242, allocations: 4 kB / 372.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3243, allocations: 64 / 372.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.3245, allocations: 48.08 kB / 372.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.392e-05/0.3245, allocations: 11.94 kB / 372.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.3259, allocations: 1.436 MB / 373.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.054e-05/0.326, allocations: 8 kB / 373.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.326, allocations: 0 / 373.9 MB, free: 11.24 MB / 266.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 8.797e-05/0.3261, allocations: 112.9 kB / 374 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.3262, allocations: 7.906 kB / 374 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.3262, allocations: 12.38 kB / 374 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.3262, allocations: 4 kB / 374 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3262, allocations: 3.938 kB / 374 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3262, allocations: 3.938 kB / 374 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.3264, allocations: 185.6 kB / 374.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3264, allocations: 0 / 374.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.3265, allocations: 4 kB / 374.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/0.3266, allocations: 39.58 kB / 374.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3266, allocations: 4 kB / 374.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.3279, allocations: 1.429 MB / 375.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3279, allocations: 0 / 375.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002669/0.3281, allocations: 195.6 kB / 375.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3283, allocations: 92.75 kB / 376 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.3283, allocations: 0 / 376 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3284, allocations: 12.06 kB / 376 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.3284, allocations: 3.984 kB / 376 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.3285, allocations: 4 kB / 376 MB, free: 9.074 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.934e-05/0.3286, allocations: 106.6 kB / 376.1 MB, free: 8.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003599/0.3289, allocations: 39.84 kB / 376.1 MB, free: 8.941 MB / 266.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 0.0001107/0.329, allocations: 95.25 kB / 376.2 MB, free: 8.836 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002888/0.3293, allocations: 158.8 kB / 376.4 MB, free: 8.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3293, allocations: 3.938 kB / 376.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.3295, allocations: 137.6 kB / 376.5 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.3297, allocations: 7.875 kB / 376.5 MB, free: 8.547 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.3301, allocations: 135.8 kB / 376.6 MB, free: 8.402 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.3305, allocations: 0.7225 MB / 377.4 MB, free: 7.656 MB / 266.7 MB Notification: Performance of SimCode: time 3.7e-07/0.3305, allocations: 0 / 377.4 MB, free: 7.656 MB / 266.7 MB Notification: Performance of Templates: time 0.004171/0.3347, allocations: 1.326 MB / 378.7 MB, free: 6.344 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1)