Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") translateModel(ConPNlib.Examples.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") [: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.01223/0.01223, allocations: 1.335 MB / 8.619 MB, free: 1.66 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 8.476e-06/8.576e-06, allocations: 0 / 12.82 MB, free: 1.148 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008221/0.0008579, allocations: 368.1 kB / 13.18 MB, free: 0.7969 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.007736/0.008613, allocations: 3.272 MB / 16.45 MB, free: 0.5508 MB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001615/0.00884, allocations: 47.98 kB / 16.5 MB, free: 0.5039 MB / 7.832 MB Notification: Performance of FrontEnd: time 0.03817/0.04702, allocations: 6.636 MB / 23.13 MB, free: 1.02 MB / 10.45 MB Notification: Performance of Transformations before backend: time 2.501e-05/0.0471, allocations: 8 kB / 23.14 MB, free: 1.012 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.0009897/0.0481, allocations: 0.6168 MB / 23.76 MB, free: 392 kB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.04815, allocations: 12.61 kB / 23.77 MB, free: 380 kB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.04829, allocations: 42.78 kB / 23.81 MB, free: 340 kB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.04887, allocations: 320.9 kB / 24.13 MB, free: 12 kB / 10.45 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004109/0.053, allocations: 18.02 kB / 24.14 MB, free: 1.289 MB / 10.45 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.05326, allocations: 27.09 kB / 24.17 MB, free: 1.289 MB / 10.45 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001042/0.05431, allocations: 404.5 kB / 24.56 MB, free: 1.289 MB / 10.45 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.05552, allocations: 0.5522 MB / 25.12 MB, free: 1.215 MB / 10.45 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.05556, allocations: 0 / 25.12 MB, free: 1.215 MB / 10.45 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/0.05563, allocations: 3.906 kB / 25.12 MB, free: 1.215 MB / 10.45 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.482e-05/0.05571, allocations: 30.05 kB / 25.15 MB, free: 1.215 MB / 10.45 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.0579, allocations: 1.046 MB / 26.2 MB, free: 0.8398 MB / 10.45 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.05845, allocations: 298.8 kB / 26.49 MB, free: 0.7188 MB / 10.45 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.05879, allocations: 152.7 kB / 26.64 MB, free: 0.7109 MB / 10.45 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006864/0.05949, allocations: 0.5975 MB / 27.23 MB, free: 3.555 MB / 13.95 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.05954, allocations: 37.67 kB / 27.27 MB, free: 3.516 MB / 13.95 MB Notification: Performance of pre-optimization done (n=22): time 4.098e-06/0.05956, allocations: 0 / 27.27 MB, free: 3.516 MB / 13.95 MB Notification: Performance of matching and sorting (n=22): time 0.0008963/0.06046, allocations: 275.2 kB / 27.54 MB, free: 3.469 MB / 13.95 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.0606, allocations: 148.1 kB / 27.68 MB, free: 3.312 MB / 13.95 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.06085, allocations: 179.8 kB / 27.86 MB, free: 3.207 MB / 13.95 MB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.06092, allocations: 29.58 kB / 27.89 MB, free: 3.176 MB / 13.95 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.06115, allocations: 220.1 kB / 28.1 MB, free: 3.02 MB / 13.95 MB Notification: Performance of collectInitialBindings (initialization): time 7.971e-05/0.06124, allocations: 67.7 kB / 28.17 MB, free: 2.973 MB / 13.95 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.06128, allocations: 0 / 28.17 MB, free: 2.973 MB / 13.95 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.06144, allocations: 333.9 kB / 28.5 MB, free: 2.648 MB / 13.95 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.06176, allocations: 131.9 kB / 28.63 MB, free: 2.602 MB / 13.95 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.06221, allocations: 240.1 kB / 28.86 MB, free: 2.434 MB / 13.95 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.06274, allocations: 146.6 kB / 29 MB, free: 2.398 MB / 13.95 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.06276, allocations: 0 / 29 MB, free: 2.398 MB / 13.95 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001132/0.0639, allocations: 386.9 kB / 29.38 MB, free: 2.105 MB / 13.95 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.06394, allocations: 8.312 kB / 29.39 MB, free: 2.098 MB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.06396, allocations: 0 / 29.39 MB, free: 2.098 MB / 13.95 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.06399, allocations: 8 kB / 29.4 MB, free: 2.09 MB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.06437, allocations: 54.38 kB / 29.45 MB, free: 2.047 MB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.0644, allocations: 8.547 kB / 29.46 MB, free: 2.039 MB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.06473, allocations: 45.31 kB / 29.5 MB, free: 2.004 MB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.028e-05/0.06481, allocations: 23.05 kB / 29.52 MB, free: 1.984 MB / 13.95 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0003178/0.06514, allocations: 167.8 kB / 29.69 MB, free: 1.812 MB / 13.95 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.729e-05/0.06525, allocations: 19.81 kB / 29.71 MB, free: 1.793 MB / 13.95 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.06643, allocations: 349.8 kB / 30.05 MB, free: 1.504 MB / 13.95 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.06648, allocations: 4 kB / 30.05 MB, free: 1.5 MB / 13.95 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.06649, allocations: 1.875 kB / 30.06 MB, free: 1.5 MB / 13.95 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.06651, allocations: 3.094 kB / 30.06 MB, free: 1.5 MB / 13.95 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.06808, allocations: 0.6724 MB / 30.73 MB, free: 0.8906 MB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.06812, allocations: 0 / 30.73 MB, free: 0.8906 MB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.06848, allocations: 37.58 kB / 30.77 MB, free: 0.8594 MB / 13.95 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.06851, allocations: 0 / 30.77 MB, free: 0.8594 MB / 13.95 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.06857, allocations: 18.47 kB / 30.79 MB, free: 0.8438 MB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.06858, allocations: 2.562 kB / 30.79 MB, free: 0.8438 MB / 13.95 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.06859, allocations: 0 / 30.79 MB, free: 0.8438 MB / 13.95 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001403/0.07001, allocations: 0.5581 MB / 31.35 MB, free: 336 kB / 13.95 MB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.07011, allocations: 92.97 kB / 31.44 MB, free: 228 kB / 13.95 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-05/0.07021, allocations: 12 kB / 31.45 MB, free: 216 kB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.07051, allocations: 24.8 kB / 31.47 MB, free: 196 kB / 13.95 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/0.07074, allocations: 59.64 kB / 31.53 MB, free: 156 kB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.07081, allocations: 13.92 kB / 31.54 MB, free: 144 kB / 13.95 MB Notification: Performance of sort global known variables: time 0.0001457/0.07097, allocations: 131 kB / 31.67 MB, free: 20 kB / 13.95 MB Notification: Performance of remove unused functions: time 0.005784/0.07677, allocations: 169.8 kB / 31.84 MB, free: 3.828 MB / 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 (22): * Single equations (assignments): 19 * 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.0005516/0.07736, allocations: 201.2 kB / 32.03 MB, free: 3.738 MB / 13.95 MB Notification: Performance of simCode: created initialization part: time 0.0009366/0.07831, allocations: 403 kB / 32.43 MB, free: 3.707 MB / 13.95 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.07834, allocations: 3.875 kB / 32.43 MB, free: 3.707 MB / 13.95 MB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.07878, allocations: 230.1 kB / 32.66 MB, free: 3.676 MB / 13.95 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.07915, allocations: 26.81 kB / 32.68 MB, free: 3.672 MB / 13.95 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.08069, allocations: 0.5547 MB / 33.24 MB, free: 3.52 MB / 13.95 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006299/0.08136, allocations: 0.9028 MB / 34.14 MB, free: 2.812 MB / 13.95 MB Notification: Performance of SimCode: time 1.362e-06/0.08138, allocations: 0 / 34.14 MB, free: 2.812 MB / 13.95 MB Notification: Performance of Templates: time 0.02164/0.103, allocations: 4.305 MB / 38.45 MB, free: 2.289 MB / 13.95 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test6.makefile (rm -f ConPNlib_ConPNlib.Examples.Test6.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test6.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test6.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test6.sim & ./ConPNlib_ConPNlib.Examples.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test6.pipe 2>&1)