Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1a.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: translateModel(ConPNlib.Examples.Test1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test1a") translateModel(ConPNlib.Examples.Test1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test1a") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01061/0.01061, allocations: 1.335 MB / 8.619 MB, free: 1.652 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 6.653e-06/6.742e-06, allocations: 0 / 12.82 MB, free: 1.113 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008074/0.0008367, allocations: 364.1 kB / 13.18 MB, free: 0.7656 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.008097/0.008956, allocations: 2.956 MB / 16.13 MB, free: 0.8477 MB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001681/0.009196, allocations: 47.98 kB / 16.18 MB, free: 0.8008 MB / 7.832 MB Notification: Performance of FrontEnd: time 0.01549/0.02471, allocations: 2.587 MB / 18.77 MB, free: 0.8086 MB / 10.45 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.02477, allocations: 4.062 kB / 18.77 MB, free: 0.8047 MB / 10.45 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004993/0.02528, allocations: 376.9 kB / 19.14 MB, free: 404 kB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.02534, allocations: 8.609 kB / 19.15 MB, free: 396 kB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.02539, allocations: 9.312 kB / 19.16 MB, free: 388 kB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.02565, allocations: 182 kB / 19.33 MB, free: 168 kB / 10.45 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.02568, allocations: 0 / 19.33 MB, free: 168 kB / 10.45 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.02571, allocations: 0 / 19.33 MB, free: 168 kB / 10.45 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.75e-05/0.0258, allocations: 16 kB / 19.35 MB, free: 152 kB / 10.45 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.02594, allocations: 65.06 kB / 19.41 MB, free: 68 kB / 10.45 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.02596, allocations: 0 / 19.41 MB, free: 68 kB / 10.45 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.02598, allocations: 0 / 19.41 MB, free: 68 kB / 10.45 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.026, allocations: 4 kB / 19.42 MB, free: 64 kB / 10.45 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005148/0.03116, allocations: 412.5 kB / 19.82 MB, free: 2.297 MB / 10.45 MB Notification: Performance of preOpt comSubExp (simulation): time 8.738e-05/0.03132, allocations: 23.55 kB / 19.84 MB, free: 2.273 MB / 10.45 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.03137, allocations: 9.766 kB / 19.85 MB, free: 2.266 MB / 10.45 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.0314, allocations: 3.312 kB / 19.86 MB, free: 2.266 MB / 10.45 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.03145, allocations: 33.28 kB / 19.89 MB, free: 2.227 MB / 10.45 MB Notification: Performance of pre-optimization done (n=2): time 4.348e-06/0.03146, allocations: 0 / 19.89 MB, free: 2.227 MB / 10.45 MB Notification: Performance of matching and sorting (n=2): time 0.0002685/0.03175, allocations: 45.58 kB / 19.93 MB, free: 2.195 MB / 10.45 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.03182, allocations: 77.11 kB / 20.01 MB, free: 2.102 MB / 10.45 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.03197, allocations: 103.7 kB / 20.11 MB, free: 2.012 MB / 10.45 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.03201, allocations: 27.34 kB / 20.14 MB, free: 1.98 MB / 10.45 MB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.03209, allocations: 101.2 kB / 20.23 MB, free: 1.891 MB / 10.45 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.03213, allocations: 12.28 kB / 20.25 MB, free: 1.887 MB / 10.45 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.03215, allocations: 2.375 kB / 20.25 MB, free: 1.887 MB / 10.45 MB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.03226, allocations: 313.7 kB / 20.56 MB, free: 1.574 MB / 10.45 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.489e-05/0.03235, allocations: 8.188 kB / 20.56 MB, free: 1.574 MB / 10.45 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.935e-05/0.03247, allocations: 52.2 kB / 20.61 MB, free: 1.52 MB / 10.45 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.395e-05/0.03257, allocations: 19.58 kB / 20.63 MB, free: 1.52 MB / 10.45 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.0326, allocations: 0 / 20.63 MB, free: 1.52 MB / 10.45 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003016/0.03292, allocations: 72.02 kB / 20.7 MB, free: 1.484 MB / 10.45 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.03297, allocations: 3.938 kB / 20.71 MB, free: 1.484 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.033, allocations: 3.812 kB / 20.71 MB, free: 1.484 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.03304, allocations: 0 / 20.71 MB, free: 1.484 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.03324, allocations: 16.5 kB / 20.73 MB, free: 1.484 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.03327, allocations: 4.547 kB / 20.73 MB, free: 1.484 MB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.03344, allocations: 7.766 kB / 20.74 MB, free: 1.484 MB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.03348, allocations: 10.69 kB / 20.75 MB, free: 1.48 MB / 10.45 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (P1.emptying,P1.feeding) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.0336, allocations: 114.2 kB / 20.86 MB, free: 1.375 MB / 10.45 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/0.0337, allocations: 6.375 kB / 20.87 MB, free: 1.371 MB / 10.45 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.611e-05/0.03377, allocations: 6.453 kB / 20.87 MB, free: 1.355 MB / 10.45 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.03379, allocations: 0 / 20.87 MB, free: 1.355 MB / 10.45 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.03381, allocations: 0 / 20.87 MB, free: 1.355 MB / 10.45 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.03382, allocations: 0 / 20.87 MB, free: 1.355 MB / 10.45 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.03425, allocations: 142.2 kB / 21.01 MB, free: 1.199 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.03428, allocations: 6.75 kB / 21.02 MB, free: 1.199 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.03441, allocations: 7.969 kB / 21.03 MB, free: 1.199 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.03444, allocations: 3.875 kB / 21.03 MB, free: 1.199 MB / 10.45 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.03447, allocations: 1.688 kB / 21.03 MB, free: 1.199 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.0345, allocations: 3.906 kB / 21.04 MB, free: 1.195 MB / 10.45 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.03451, allocations: 0 / 21.04 MB, free: 1.195 MB / 10.45 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002794/0.03481, allocations: 143.2 kB / 21.18 MB, free: 1.062 MB / 10.45 MB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.03489, allocations: 82.48 kB / 21.26 MB, free: 0.9688 MB / 10.45 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.03495, allocations: 2.625 kB / 21.26 MB, free: 0.9688 MB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.03524, allocations: 8.328 kB / 21.27 MB, free: 0.9688 MB / 10.45 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.03531, allocations: 3.906 kB / 21.27 MB, free: 0.9648 MB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.03534, allocations: 3.219 kB / 21.27 MB, free: 0.9648 MB / 10.45 MB Notification: Performance of sort global known variables: time 8.012e-05/0.03544, allocations: 96.38 kB / 21.37 MB, free: 0.8867 MB / 10.45 MB Notification: Performance of remove unused functions: time 0.0008105/0.03627, allocations: 13.56 kB / 21.38 MB, free: 0.8789 MB / 10.45 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001674/0.03646, allocations: 92.61 kB / 21.47 MB, free: 0.793 MB / 10.45 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.03667, allocations: 24.19 kB / 21.5 MB, free: 0.793 MB / 10.45 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.03669, allocations: 6.188 kB / 21.5 MB, free: 0.7891 MB / 10.45 MB Notification: Performance of simCode: created simulation system equations: time 3.174e-05/0.03674, allocations: 3.344 kB / 21.51 MB, free: 0.7891 MB / 10.45 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.03728, allocations: 12.73 kB / 21.52 MB, free: 0.7891 MB / 10.45 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.03771, allocations: 84.06 kB / 21.6 MB, free: 0.7109 MB / 10.45 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.03792, allocations: 0.6947 MB / 22.29 MB, free: 8 kB / 10.45 MB Notification: Performance of SimCode: time 1.313e-06/0.03794, allocations: 0 / 22.29 MB, free: 8 kB / 10.45 MB Notification: Performance of Templates: time 0.004542/0.04249, allocations: 0.5204 MB / 22.81 MB, free: 3.449 MB / 13.93 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test1a.makefile (rm -f ConPNlib_ConPNlib.Examples.Test1a.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1a.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1a.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1a.sim & ./ConPNlib_ConPNlib.Examples.Test1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test1a.pipe 2>&1)