Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions") translateModel(Annex60.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions") [: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/Annex60 1.0.0/package.mo): time 0.2925/0.2925, allocations: 54.39 MB / 61.68 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001124/0.001124, allocations: 184.2 kB / 75.37 MB, free: 1.508 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.415/1.415, allocations: 194.2 MB / 283.2 MB, free: 3.469 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00167/0.00167, allocations: 113.7 kB / 341.3 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.802e-06/6.842e-06, allocations: 0 / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1227, allocations: 57.65 MB / 462.6 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3479/0.4707, allocations: 85.41 MB / 0.5352 GB, free: 11.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.471, allocations: 78.2 kB / 0.5352 GB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.004818/0.4758, allocations: 1.337 MB / 0.5365 GB, free: 10.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.4758, allocations: 5.516 kB / 0.5365 GB, free: 10.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004643/0.4763, allocations: 396.3 kB / 0.5369 GB, free: 10.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4764, allocations: 15.97 kB / 0.5369 GB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.4764, allocations: 7.906 kB / 0.5369 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.4766, allocations: 200.5 kB / 0.5371 GB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.4767, allocations: 0 / 0.5371 GB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.4767, allocations: 7.984 kB / 0.5371 GB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001644/0.4769, allocations: 62.34 kB / 0.5372 GB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.477, allocations: 92.77 kB / 0.5373 GB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.477, allocations: 0 / 0.5373 GB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.4771, allocations: 0 / 0.5373 GB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.4771, allocations: 0 / 0.5373 GB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.4777, allocations: 368.1 kB / 0.5376 GB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.4778, allocations: 48.31 kB / 0.5377 GB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/0.4779, allocations: 30.8 kB / 0.5377 GB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.4779, allocations: 8.734 kB / 0.5377 GB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.4779, allocations: 31.94 kB / 0.5378 GB, free: 9.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.478, allocations: 0 / 0.5378 GB, free: 9.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002892/0.4783, allocations: 99.17 kB / 0.5379 GB, free: 9.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.4783, allocations: 55.41 kB / 0.5379 GB, free: 9.215 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.4784, allocations: 113.4 kB / 0.538 GB, free: 9.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.4784, allocations: 25.7 kB / 0.538 GB, free: 9.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.4785, allocations: 96.16 kB / 0.5381 GB, free: 8.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.4785, allocations: 22.56 kB / 0.5382 GB, free: 8.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.4785, allocations: 0 / 0.5382 GB, free: 8.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4787, allocations: 318.9 kB / 0.5385 GB, free: 8.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.888e-05/0.4788, allocations: 27.3 kB / 0.5385 GB, free: 8.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.531e-05/0.4788, allocations: 28.61 kB / 0.5385 GB, free: 8.602 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.379e-05/0.4789, allocations: 31.67 kB / 0.5385 GB, free: 8.578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4789, allocations: 0 / 0.5385 GB, free: 8.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001862/0.4791, allocations: 91.52 kB / 0.5386 GB, free: 8.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4791, allocations: 9.094 kB / 0.5386 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4791, allocations: 3.984 kB / 0.5386 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.4791, allocations: 0 / 0.5386 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.4793, allocations: 24.23 kB / 0.5387 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.4793, allocations: 0 / 0.5387 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.856e-05/0.4794, allocations: 20.45 kB / 0.5387 GB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.4795, allocations: 4.688 kB / 0.5387 GB, free: 8.441 MB / 378.7 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 (6): * Single equations (assignments): 6 * 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 7.228e-05/0.4796, allocations: 101 kB / 0.5388 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.4796, allocations: 7.906 kB / 0.5388 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.4799, allocations: 124.9 kB / 0.5389 GB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4799, allocations: 3.984 kB / 0.5389 GB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4799, allocations: 0 / 0.5389 GB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4799, allocations: 0 / 0.5389 GB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.4801, allocations: 183.3 kB / 0.5391 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4801, allocations: 0 / 0.5391 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.4802, allocations: 23.98 kB / 0.5391 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4802, allocations: 4 kB / 0.5391 GB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.4803, allocations: 3.938 kB / 0.5391 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4803, allocations: 3.984 kB / 0.5391 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4803, allocations: 3.938 kB / 0.5391 GB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002341/0.4805, allocations: 194.1 kB / 0.5393 GB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.4806, allocations: 92.94 kB / 0.5394 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.4806, allocations: 0 / 0.5394 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4807, allocations: 12 kB / 0.5394 GB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.4808, allocations: 9.172 kB / 0.5394 GB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.4808, allocations: 8.75 kB / 0.5394 GB, free: 7.652 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.147e-05/0.4808, allocations: 99.17 kB / 0.5395 GB, free: 7.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002332/0.4811, allocations: 15.91 kB / 0.5395 GB, free: 7.547 MB / 378.7 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 (6): * Single equations (assignments): 6 * 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.0001561/0.4813, allocations: 99.23 kB / 0.5396 GB, free: 7.441 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.4814, allocations: 74.36 kB / 0.5397 GB, free: 7.387 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4814, allocations: 2.438 kB / 0.5397 GB, free: 7.387 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.5e-05/0.4815, allocations: 42.17 kB / 0.5397 GB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.4816, allocations: 1.5 kB / 0.5397 GB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.482, allocations: 136.7 kB / 0.5399 GB, free: 7.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.4824, allocations: 0.7216 MB / 0.5406 GB, free: 6.465 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4824, allocations: 0 / 0.5406 GB, free: 6.465 MB / 378.7 MB Notification: Performance of Templates: time 0.002816/0.4852, allocations: 0.795 MB / 0.5414 GB, free: 5.684 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)