Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") translateModel(ConPNlib.Examples.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") [: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.01056/0.01056, allocations: 1.342 MB / 8.626 MB, free: 1.648 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/7.874e-06, allocations: 0 / 12.82 MB, free: 1.141 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007947/0.0008321, allocations: 359.8 kB / 13.17 MB, free: 0.8008 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.007676/0.00853, allocations: 3.281 MB / 16.45 MB, free: 0.5469 MB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001391/0.008736, allocations: 50 kB / 16.5 MB, free: 0.5 MB / 7.832 MB Notification: Performance of FrontEnd: time 0.03327/0.04202, allocations: 6.642 MB / 23.14 MB, free: 1.676 MB / 10.45 MB Notification: Performance of Transformations before backend: time 2.711e-05/0.0421, allocations: 8 kB / 23.15 MB, free: 1.668 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001078/0.04319, allocations: 0.6176 MB / 23.77 MB, free: 1 MB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.04325, allocations: 8.609 kB / 23.78 MB, free: 0.9922 MB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.04341, allocations: 43.53 kB / 23.82 MB, free: 0.9492 MB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006148/0.04404, allocations: 320 kB / 24.13 MB, free: 0.5977 MB / 10.45 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.527e-05/0.0441, allocations: 16 kB / 24.15 MB, free: 0.582 MB / 10.45 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.915e-05/0.04421, allocations: 28 kB / 24.17 MB, free: 0.5547 MB / 10.45 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009918/0.04521, allocations: 401.8 kB / 24.57 MB, free: 164 kB / 10.45 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005923/0.05116, allocations: 0.5494 MB / 25.12 MB, free: 1.094 MB / 10.45 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.05124, allocations: 0 / 25.12 MB, free: 1.094 MB / 10.45 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-05/0.05131, allocations: 2.125 kB / 25.12 MB, free: 1.094 MB / 10.45 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-05/0.05141, allocations: 36.7 kB / 25.15 MB, free: 1.094 MB / 10.45 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.05372, allocations: 1.058 MB / 26.21 MB, free: 0.7148 MB / 10.45 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.05422, allocations: 193 kB / 26.4 MB, free: 0.6914 MB / 10.45 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.05456, allocations: 163.8 kB / 26.56 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006837/0.05526, allocations: 0.5957 MB / 27.16 MB, free: 3.527 MB / 13.95 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.05533, allocations: 35.75 kB / 27.19 MB, free: 3.484 MB / 13.95 MB Notification: Performance of pre-optimization done (n=23): time 3.236e-06/0.05534, allocations: 1.969 kB / 27.19 MB, free: 3.484 MB / 13.95 MB Notification: Performance of matching and sorting (n=23): time 0.0009626/0.05631, allocations: 286.6 kB / 27.47 MB, free: 3.445 MB / 13.95 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.05645, allocations: 145.7 kB / 27.62 MB, free: 3.289 MB / 13.95 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.05671, allocations: 175.8 kB / 27.79 MB, free: 3.188 MB / 13.95 MB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.05677, allocations: 25.7 kB / 27.81 MB, free: 3.156 MB / 13.95 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.05696, allocations: 217 kB / 28.02 MB, free: 3.016 MB / 13.95 MB Notification: Performance of collectInitialBindings (initialization): time 8.35e-05/0.05705, allocations: 70.53 kB / 28.09 MB, free: 2.973 MB / 13.95 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.05709, allocations: 6.25 kB / 28.1 MB, free: 2.973 MB / 13.95 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.05725, allocations: 328 kB / 28.42 MB, free: 2.66 MB / 13.95 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.05761, allocations: 142.2 kB / 28.56 MB, free: 2.652 MB / 13.95 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000451/0.05807, allocations: 235.1 kB / 28.79 MB, free: 2.504 MB / 13.95 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.05862, allocations: 145.5 kB / 28.93 MB, free: 2.461 MB / 13.95 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.05864, allocations: 3.375 kB / 28.93 MB, free: 2.461 MB / 13.95 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001092/0.05975, allocations: 382.3 kB / 29.31 MB, free: 2.332 MB / 13.95 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.05979, allocations: 9.906 kB / 29.32 MB, free: 2.332 MB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.05981, allocations: 5.125 kB / 29.32 MB, free: 2.332 MB / 13.95 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-05/0.05985, allocations: 7.156 kB / 29.33 MB, free: 2.328 MB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.06023, allocations: 62.73 kB / 29.39 MB, free: 2.316 MB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.06026, allocations: 8.641 kB / 29.4 MB, free: 2.312 MB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.06058, allocations: 38.2 kB / 29.44 MB, free: 2.305 MB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.06067, allocations: 26.52 kB / 29.46 MB, free: 2.297 MB / 13.95 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.feeding,P1.outTransition[1].arcType,P2.emptying,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 2 * Algorithm blocks: 1 * 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.000244/0.06092, allocations: 163 kB / 29.62 MB, free: 2.148 MB / 13.95 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/0.06103, allocations: 23.69 kB / 29.64 MB, free: 2.137 MB / 13.95 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.06225, allocations: 357.7 kB / 29.99 MB, free: 1.961 MB / 13.95 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/0.06231, allocations: 4 kB / 30 MB, free: 1.957 MB / 13.95 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.06233, allocations: 0 / 30 MB, free: 1.957 MB / 13.95 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.06235, allocations: 5.344 kB / 30 MB, free: 1.957 MB / 13.95 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.06401, allocations: 0.6942 MB / 30.7 MB, free: 1.328 MB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.06406, allocations: 0 / 30.7 MB, free: 1.328 MB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.0644, allocations: 41.38 kB / 30.74 MB, free: 1.293 MB / 13.95 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.06443, allocations: 4 kB / 30.74 MB, free: 1.289 MB / 13.95 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.06448, allocations: 7 kB / 30.75 MB, free: 1.285 MB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.0645, allocations: 1.25 kB / 30.75 MB, free: 1.285 MB / 13.95 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.06451, allocations: 0 / 30.75 MB, free: 1.285 MB / 13.95 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001518/0.06603, allocations: 0.5809 MB / 31.33 MB, free: 0.7461 MB / 13.95 MB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/0.06618, allocations: 88.92 kB / 31.42 MB, free: 0.6406 MB / 13.95 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.111e-05/0.06628, allocations: 12.06 kB / 31.43 MB, free: 0.6289 MB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.06661, allocations: 25.67 kB / 31.45 MB, free: 0.6094 MB / 13.95 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/0.06687, allocations: 65.62 kB / 31.52 MB, free: 0.5664 MB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/0.06695, allocations: 14.53 kB / 31.53 MB, free: 0.5547 MB / 13.95 MB Notification: Performance of sort global known variables: time 0.0001534/0.06711, allocations: 130.6 kB / 31.66 MB, free: 444 kB / 13.95 MB Notification: Performance of remove unused functions: time 0.00084/0.06796, allocations: 152.7 kB / 31.81 MB, free: 312 kB / 13.95 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 2 * Algorithm blocks: 1 * 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.000551/0.06853, allocations: 202.5 kB / 32.01 MB, free: 128 kB / 13.95 MB Notification: Performance of simCode: created initialization part: time 0.007525/0.07608, allocations: 477.2 kB / 32.47 MB, free: 3.918 MB / 13.95 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.07613, allocations: 3.938 kB / 32.48 MB, free: 3.918 MB / 13.95 MB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.07664, allocations: 237.4 kB / 32.71 MB, free: 3.887 MB / 13.95 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.07704, allocations: 20.09 kB / 32.73 MB, free: 3.883 MB / 13.95 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.07875, allocations: 0.5538 MB / 33.28 MB, free: 3.73 MB / 13.95 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005909/0.07939, allocations: 0.9099 MB / 34.19 MB, free: 3.027 MB / 13.95 MB Notification: Performance of SimCode: time 1.303e-06/0.0794, allocations: 0 / 34.19 MB, free: 3.027 MB / 13.95 MB Notification: Performance of Templates: time 0.0188/0.09821, allocations: 4.404 MB / 38.59 MB, free: 2.402 MB / 13.95 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test5.makefile (rm -f ConPNlib_ConPNlib.Examples.Test5.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test5.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test5.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test5.sim & ./ConPNlib_ConPNlib.Examples.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test5.pipe 2>&1)