Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") translateModel(ConPNlib.Examples.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") [: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.01613/0.01613, allocations: 1.342 MB / 8.62 MB, free: 1.645 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 1.067e-05/1.086e-05, allocations: 0 / 12.82 MB, free: 1.109 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.001139/0.001187, allocations: 368.8 kB / 13.18 MB, free: 0.7539 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01111/0.01235, allocations: 3.264 MB / 16.44 MB, free: 0.5312 MB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.01262, allocations: 47.98 kB / 16.49 MB, free: 496 kB / 7.832 MB Notification: Performance of FrontEnd: time 0.03648/0.04913, allocations: 4.911 MB / 21.4 MB, free: 2.301 MB / 10.45 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.0492, allocations: 4.875 kB / 21.4 MB, free: 2.301 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0006556/0.04986, allocations: 0.4937 MB / 21.9 MB, free: 1.867 MB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.04992, allocations: 8.609 kB / 21.91 MB, free: 1.867 MB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.05005, allocations: 23.81 kB / 21.93 MB, free: 1.855 MB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006059/0.05067, allocations: 251.1 kB / 22.17 MB, free: 1.645 MB / 10.45 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.05074, allocations: 8.156 kB / 22.18 MB, free: 1.645 MB / 10.45 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.484e-05/0.05085, allocations: 18.03 kB / 22.2 MB, free: 1.641 MB / 10.45 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008396/0.05171, allocations: 200.4 kB / 22.4 MB, free: 1.641 MB / 10.45 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.05281, allocations: 300 kB / 22.69 MB, free: 1.578 MB / 10.45 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.05288, allocations: 4.812 kB / 22.69 MB, free: 1.578 MB / 10.45 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/0.05295, allocations: 0 / 22.69 MB, free: 1.578 MB / 10.45 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-05/0.05305, allocations: 12.5 kB / 22.71 MB, free: 1.578 MB / 10.45 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.05547, allocations: 0.6873 MB / 23.39 MB, free: 1.117 MB / 10.45 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.05595, allocations: 109.6 kB / 23.5 MB, free: 1.039 MB / 10.45 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.05624, allocations: 75.28 kB / 23.57 MB, free: 0.9766 MB / 10.45 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000646/0.05691, allocations: 440.8 kB / 24 MB, free: 472 kB / 10.45 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.05697, allocations: 30.56 kB / 24.03 MB, free: 432 kB / 10.45 MB Notification: Performance of pre-optimization done (n=13): time 5.891e-06/0.05699, allocations: 0 / 24.03 MB, free: 432 kB / 10.45 MB Notification: Performance of matching and sorting (n=13): time 0.001059/0.05807, allocations: 161.6 kB / 24.19 MB, free: 264 kB / 10.45 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.05818, allocations: 114.7 kB / 24.3 MB, free: 124 kB / 10.45 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006244/0.06444, allocations: 129.3 kB / 24.43 MB, free: 1.875 MB / 10.45 MB Notification: Performance of collectPreVariables (initialization): time 8.267e-05/0.06458, allocations: 31.11 kB / 24.46 MB, free: 1.844 MB / 10.45 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.06476, allocations: 146.8 kB / 24.6 MB, free: 1.758 MB / 10.45 MB Notification: Performance of collectInitialBindings (initialization): time 8.324e-05/0.06487, allocations: 44.61 kB / 24.65 MB, free: 1.738 MB / 10.45 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.0649, allocations: 2.438 kB / 24.65 MB, free: 1.738 MB / 10.45 MB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.06498, allocations: 321.7 kB / 24.96 MB, free: 1.426 MB / 10.45 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.06517, allocations: 64.83 kB / 25.03 MB, free: 1.422 MB / 10.45 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.06538, allocations: 117.3 kB / 25.14 MB, free: 1.359 MB / 10.45 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.06568, allocations: 72.12 kB / 25.21 MB, free: 1.359 MB / 10.45 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.0657, allocations: 2.469 kB / 25.21 MB, free: 1.359 MB / 10.45 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005685/0.06628, allocations: 214.5 kB / 25.42 MB, free: 1.32 MB / 10.45 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.06631, allocations: 4.812 kB / 25.43 MB, free: 1.32 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.06633, allocations: 3.281 kB / 25.43 MB, free: 1.32 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.06636, allocations: 3.375 kB / 25.44 MB, free: 1.32 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.0666, allocations: 30.38 kB / 25.46 MB, free: 1.32 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.06662, allocations: 1.469 kB / 25.47 MB, free: 1.32 MB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.06679, allocations: 24.59 kB / 25.49 MB, free: 1.316 MB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.06684, allocations: 10.78 kB / 25.5 MB, free: 1.316 MB / 10.45 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.P1.fireIn[1],P1.feeding,P1.emptying,T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],T1.activation.emptied[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 1 * 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.0001487/0.067, allocations: 149.8 kB / 25.65 MB, free: 1.18 MB / 10.45 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.06707, allocations: 9.688 kB / 25.66 MB, free: 1.176 MB / 10.45 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008012/0.06788, allocations: 272.5 kB / 25.92 MB, free: 1.137 MB / 10.45 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.06792, allocations: 3.969 kB / 25.93 MB, free: 1.137 MB / 10.45 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.06793, allocations: 5.781 kB / 25.93 MB, free: 1.137 MB / 10.45 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.06795, allocations: 0 / 25.93 MB, free: 1.137 MB / 10.45 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008409/0.0688, allocations: 488.3 kB / 26.41 MB, free: 0.8672 MB / 10.45 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.06882, allocations: 2.953 kB / 26.41 MB, free: 0.8672 MB / 10.45 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.06903, allocations: 24.98 kB / 26.44 MB, free: 0.8672 MB / 10.45 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.06905, allocations: 3.281 kB / 26.44 MB, free: 0.8672 MB / 10.45 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.06908, allocations: 4.469 kB / 26.44 MB, free: 0.8672 MB / 10.45 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.0691, allocations: 3.906 kB / 26.45 MB, free: 0.8633 MB / 10.45 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.06911, allocations: 3.984 kB / 26.45 MB, free: 0.8594 MB / 10.45 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007183/0.06984, allocations: 369.4 kB / 26.81 MB, free: 0.7188 MB / 10.45 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.0699, allocations: 90.92 kB / 26.9 MB, free: 0.6172 MB / 10.45 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.06997, allocations: 4.406 kB / 26.91 MB, free: 0.6172 MB / 10.45 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.07017, allocations: 12.97 kB / 26.92 MB, free: 0.6172 MB / 10.45 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.07032, allocations: 34.61 kB / 26.95 MB, free: 0.6172 MB / 10.45 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.07037, allocations: 11.05 kB / 26.96 MB, free: 0.6172 MB / 10.45 MB Notification: Performance of sort global known variables: time 7.094e-05/0.07045, allocations: 101.7 kB / 27.06 MB, free: 0.543 MB / 10.45 MB Notification: Performance of remove unused functions: time 0.0005773/0.07104, allocations: 84.73 kB / 27.14 MB, free: 0.5312 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: 4 (T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.feeding) * Number of discrete states: 3 (P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 1 * 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.0003317/0.07138, allocations: 166.8 kB / 27.31 MB, free: 444 kB / 10.45 MB Notification: Performance of simCode: created initialization part: time 0.0006051/0.072, allocations: 212.5 kB / 27.52 MB, free: 404 kB / 10.45 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.07202, allocations: 3.375 kB / 27.52 MB, free: 404 kB / 10.45 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.07228, allocations: 121.5 kB / 27.64 MB, free: 372 kB / 10.45 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.07257, allocations: 20.58 kB / 27.66 MB, free: 364 kB / 10.45 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009532/0.07354, allocations: 329.5 kB / 27.98 MB, free: 236 kB / 10.45 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005577/0.07412, allocations: 0.8185 MB / 28.8 MB, free: 3.195 MB / 14.12 MB Notification: Performance of SimCode: time 1.052e-06/0.07414, allocations: 0 / 28.8 MB, free: 3.195 MB / 14.12 MB Notification: Performance of Templates: time 0.008842/0.08299, allocations: 2.537 MB / 31.33 MB, free: 1.168 MB / 14.12 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test3.makefile (rm -f ConPNlib_ConPNlib.Examples.Test3.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test3.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test3.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test3.sim & ./ConPNlib_ConPNlib.Examples.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test3.pipe 2>&1)