Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.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/ModelicaByExample 0.6.0/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 ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/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(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") [: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.002196/0.002196, allocations: 182.7 kB / 7.458 MB, free: 2.5 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.001/1.001, allocations: 194.2 MB / 202.1 MB, free: 8.645 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03263/0.03263, allocations: 7.922 MB / 254.9 MB, free: 1.703 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001545/0.001545, allocations: 133.1 kB / 301.5 MB, free: 3.258 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.22e-06/5.33e-06, allocations: 0 / 353.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.188, allocations: 46.2 MB / 399.9 MB, free: 70.32 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06213/0.2502, allocations: 70.11 MB / 470.1 MB, free: 1.254 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001166/0.2503, allocations: 47.92 kB / 470.1 MB, free: 1.207 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0004496/0.2508, allocations: 59.98 kB / 470.2 MB, free: 1.148 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2508, allocations: 4 kB / 470.2 MB, free: 1.145 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001487/0.251, allocations: 304.6 kB / 470.5 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.251, allocations: 9.031 kB / 470.5 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.2511, allocations: 7.984 kB / 470.5 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.709e-05/0.2511, allocations: 167.1 kB / 470.7 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.2511, allocations: 0 / 470.7 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.2511, allocations: 7.844 kB / 470.7 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.83e-05/0.2512, allocations: 0 / 470.7 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.16e-05/0.2512, allocations: 29.7 kB / 470.7 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-06/0.2512, allocations: 0 / 470.7 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.2513, allocations: 0 / 470.7 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2513, allocations: 0 / 470.7 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.2515, allocations: 134.2 kB / 470.8 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.329e-05/0.2515, allocations: 26.55 kB / 470.8 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.259e-05/0.2515, allocations: 4.859 kB / 470.8 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.2515, allocations: 0 / 470.8 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.015e-05/0.2515, allocations: 34.56 kB / 470.9 MB, free: 296 kB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.2515, allocations: 0 / 470.9 MB, free: 296 kB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 8.737e-05/0.2516, allocations: 33.67 kB / 470.9 MB, free: 256 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.445e-05/0.2517, allocations: 55.44 kB / 471 MB, free: 188 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.44e-05/0.2517, allocations: 85 kB / 471.1 MB, free: 96 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.2517, allocations: 25.7 kB / 471.1 MB, free: 64 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.2517, allocations: 84.14 kB / 471.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.2518, allocations: 7.984 kB / 471.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-06/0.2518, allocations: 0 / 471.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.2519, allocations: 314.8 kB / 471.5 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-06/0.2519, allocations: 0 / 471.5 MB, free: 15.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-06/0.2519, allocations: 8 kB / 471.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.284e-05/0.2519, allocations: 3.938 kB / 471.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2519, allocations: 0 / 471.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.396e-05/0.252, allocations: 37.7 kB / 471.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.252, allocations: 4 kB / 471.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.252, allocations: 0 / 471.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.252, allocations: 0 / 471.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.392e-05/0.252, allocations: 11.92 kB / 471.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.2521, allocations: 0 / 471.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.2521, allocations: 4.094 kB / 471.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.2521, allocations: 4 kB / 471.5 MB, free: 15.57 MB / 330.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 (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.283e-05/0.2521, allocations: 108.7 kB / 471.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-06/0.2522, allocations: 0 / 471.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.372e-05/0.2522, allocations: 3 kB / 471.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.2522, allocations: 0 / 471.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2522, allocations: 0 / 471.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2522, allocations: 0 / 471.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.2523, allocations: 138.1 kB / 471.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2523, allocations: 0 / 471.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.2523, allocations: 4 kB / 471.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.2524, allocations: 0 / 471.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.2524, allocations: 7.875 kB / 471.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2524, allocations: 7.984 kB / 471.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2524, allocations: 0 / 471.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.883e-05/0.2525, allocations: 61.12 kB / 471.9 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.2525, allocations: 81.02 kB / 471.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.2525, allocations: 4.094 kB / 472 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.2525, allocations: 0 / 472 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.2526, allocations: 0 / 472 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.2526, allocations: 0 / 472 MB, free: 15.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.269e-05/0.2526, allocations: 75.28 kB / 472 MB, free: 15.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001656/0.2528, allocations: 4.031 kB / 472 MB, free: 15.01 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.516e-05/0.2529, allocations: 107.2 kB / 472.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.52e-05/0.2529, allocations: 7.938 kB / 472.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2529, allocations: 4.062 kB / 472.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.25e-06/0.2529, allocations: 4 kB / 472.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.085e-05/0.253, allocations: 5.125 kB / 472.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001785/0.2532, allocations: 64.19 kB / 472.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.2534, allocations: 0.6841 MB / 472.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of SimCode: time 2.124e-06/0.2535, allocations: 0 / 472.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of Templates: time 0.001469/0.2549, allocations: 220.1 kB / 473.1 MB, free: 13.86 MB / 330.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.makefile (rm -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; mkfifo ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe >> ../files/ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.sim & ./ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1)