Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MessagePack_MessagePack.Examples.TestCreateAndReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo", uses=false) Using package MessagePack with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo) Running command: translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") [: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/MessagePack 0.1.1-master/package.mo): time 0.002784/0.002784, allocations: 317.7 kB / 7.584 MB, free: 1.414 MB / 6.77 MB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.155e-06, allocations: 0 / 11.52 MB, free: 1.059 MB / 6.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002118/0.000243, allocations: 95.58 kB / 11.61 MB, free: 0.9727 MB / 6.77 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004873/0.005133, allocations: 2.626 MB / 14.23 MB, free: 1.207 MB / 6.77 MB Notification: Performance of FrontEnd - mkProgramGraph: time 8.1e-05/0.005243, allocations: 40.12 kB / 14.27 MB, free: 1.195 MB / 6.77 MB Notification: Performance of FrontEnd: time 0.01072/0.01598, allocations: 1.811 MB / 16.08 MB, free: 1.426 MB / 6.77 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.01601, allocations: 0 / 16.08 MB, free: 1.426 MB / 6.77 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.0002184/0.01625, allocations: 387 kB / 16.46 MB, free: 1.027 MB / 6.77 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.0163, allocations: 7.328 kB / 16.47 MB, free: 1.027 MB / 6.77 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.01634, allocations: 4.688 kB / 16.47 MB, free: 1.027 MB / 6.77 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.619e-05/0.0164, allocations: 173.8 kB / 16.64 MB, free: 0.8281 MB / 6.77 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.01642, allocations: 320 / 16.64 MB, free: 0.8281 MB / 6.77 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.01644, allocations: 320 / 16.64 MB, free: 0.8281 MB / 6.77 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.06e-05/0.01649, allocations: 320 / 16.64 MB, free: 0.8281 MB / 6.77 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.763e-05/0.01655, allocations: 30.17 kB / 16.67 MB, free: 0.7969 MB / 6.77 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.01657, allocations: 3.375 kB / 16.68 MB, free: 0.7969 MB / 6.77 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.01659, allocations: 3.906 kB / 16.68 MB, free: 0.793 MB / 6.77 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.01661, allocations: 0 / 16.68 MB, free: 0.793 MB / 6.77 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.01683, allocations: 362.6 kB / 17.04 MB, free: 420 kB / 6.77 MB Notification: Performance of preOpt comSubExp (simulation): time 4.432e-05/0.01689, allocations: 169 kB / 17.2 MB, free: 244 kB / 6.77 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.836e-05/0.01693, allocations: 82.98 kB / 17.28 MB, free: 160 kB / 6.77 MB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/0.01699, allocations: 75.28 kB / 17.35 MB, free: 2.379 MB / 9.066 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.587e-05/0.01706, allocations: 107.2 kB / 17.46 MB, free: 2.266 MB / 9.066 MB Notification: Performance of pre-optimization done (n=0): time 1.894e-06/0.01708, allocations: 4 kB / 17.46 MB, free: 2.262 MB / 9.066 MB Notification: Performance of matching and sorting (n=0): time 9.137e-05/0.01718, allocations: 37.59 kB / 17.5 MB, free: 2.227 MB / 9.066 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.01723, allocations: 51.41 kB / 17.55 MB, free: 2.164 MB / 9.066 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.746e-05/0.01733, allocations: 88.25 kB / 17.64 MB, free: 2.074 MB / 9.066 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.01737, allocations: 29.64 kB / 17.67 MB, free: 2.039 MB / 9.066 MB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.01744, allocations: 83.98 kB / 17.75 MB, free: 1.957 MB / 9.066 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.01746, allocations: 0 / 17.75 MB, free: 1.957 MB / 9.066 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.01747, allocations: 0 / 17.75 MB, free: 1.957 MB / 9.066 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.01762, allocations: 315.9 kB / 18.06 MB, free: 1.641 MB / 9.066 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-06/0.01764, allocations: 0 / 18.06 MB, free: 1.641 MB / 9.066 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.046e-05/0.01767, allocations: 12.62 kB / 18.07 MB, free: 1.625 MB / 9.066 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.01771, allocations: 11.22 kB / 18.08 MB, free: 1.617 MB / 9.066 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01772, allocations: 3.938 kB / 18.08 MB, free: 1.613 MB / 9.066 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000115/0.01785, allocations: 36.08 kB / 18.12 MB, free: 1.582 MB / 9.066 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.01788, allocations: 3.5 kB / 18.12 MB, free: 1.582 MB / 9.066 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.0179, allocations: 6.688 kB / 18.13 MB, free: 1.578 MB / 9.066 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.01792, allocations: 0 / 18.13 MB, free: 1.578 MB / 9.066 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.01798, allocations: 2.75 kB / 18.13 MB, free: 1.578 MB / 9.066 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.018, allocations: 0 / 18.13 MB, free: 1.578 MB / 9.066 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.01803, allocations: 0 / 18.13 MB, free: 1.578 MB / 9.066 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.01805, allocations: 0 / 18.13 MB, free: 1.578 MB / 9.066 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 (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 prepare postOptimizeDAE: time 0.0001194/0.01818, allocations: 184.8 kB / 18.31 MB, free: 1.395 MB / 9.066 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.106e-05/0.01829, allocations: 108.7 kB / 18.42 MB, free: 1.285 MB / 9.066 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.047e-05/0.01837, allocations: 108.3 kB / 18.52 MB, free: 1.164 MB / 9.066 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.083e-05/0.01847, allocations: 176.3 kB / 18.7 MB, free: 0.9844 MB / 9.066 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-05/0.01856, allocations: 184 kB / 18.88 MB, free: 0.8008 MB / 9.066 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.66e-05/0.01868, allocations: 179.5 kB / 19.05 MB, free: 0.6211 MB / 9.066 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.01897, allocations: 377.7 kB / 19.42 MB, free: 216 kB / 9.066 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.207e-05/0.01904, allocations: 108.9 kB / 19.53 MB, free: 100 kB / 9.066 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/0.02133, allocations: 105 kB / 19.63 MB, free: 2.824 MB / 9.066 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.482e-05/0.02138, allocations: 179.7 kB / 19.8 MB, free: 2.645 MB / 9.066 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.02141, allocations: 180.8 kB / 19.98 MB, free: 2.465 MB / 9.066 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.213e-05/0.02145, allocations: 185.4 kB / 20.16 MB, free: 2.285 MB / 9.066 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.17e-05/0.02148, allocations: 178.4 kB / 20.34 MB, free: 2.105 MB / 9.066 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.873e-05/0.02155, allocations: 305.9 kB / 20.63 MB, free: 1.797 MB / 9.066 MB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.02159, allocations: 181.4 kB / 20.81 MB, free: 1.598 MB / 9.066 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.02164, allocations: 189.3 kB / 21 MB, free: 1.418 MB / 9.066 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.02175, allocations: 104.2 kB / 21.1 MB, free: 1.312 MB / 9.066 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.02179, allocations: 177.3 kB / 21.27 MB, free: 1.133 MB / 9.066 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.02181, allocations: 102.3 kB / 21.37 MB, free: 1.027 MB / 9.066 MB Notification: Performance of sort global known variables: time 1.888e-05/0.02184, allocations: 81.16 kB / 21.45 MB, free: 0.9531 MB / 9.066 MB Notification: Performance of remove unused functions: time 0.0005127/0.02237, allocations: 61.84 kB / 21.51 MB, free: 0.9531 MB / 9.066 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001179/0.02356, allocations: 0.549 MB / 22.06 MB, free: 0.5586 MB / 9.066 MB Notification: Performance of simCode: created initialization part: time 6.3e-05/0.02365, allocations: 0 / 22.06 MB, free: 0.5586 MB / 9.066 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.02367, allocations: 0 / 22.06 MB, free: 0.5586 MB / 9.066 MB Notification: Performance of simCode: created simulation system equations: time 5.019e-06/0.02368, allocations: 4 kB / 22.06 MB, free: 0.5547 MB / 9.066 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.02394, allocations: 0.5251 MB / 22.59 MB, free: 32 kB / 9.066 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001908/0.02415, allocations: 117.8 kB / 22.7 MB, free: 2.953 MB / 12.13 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.0245, allocations: 0.6801 MB / 23.38 MB, free: 2.25 MB / 12.13 MB Notification: Performance of SimCode: time 6.51e-07/0.02451, allocations: 0 / 23.38 MB, free: 2.25 MB / 12.13 MB Notification: Performance of Templates: time 0.006713/0.03124, allocations: 1.659 MB / 25.04 MB, free: 1.531 MB / 12.13 MB make -j1 -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.makefile (rm -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe ; mkfifo MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe ; head -c 1048576 < MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe >> ../files/MessagePack_MessagePack.Examples.TestCreateAndReadFile.sim & ./MessagePack_MessagePack.Examples.TestCreateAndReadFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1)