Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table.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.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table") translateModel(Annex60.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table") [: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.2774/0.2774, allocations: 54.4 MB / 61.68 MB, free: 11.14 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.001235/0.001235, allocations: 189.5 kB / 75.38 MB, free: 1.504 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.722/1.722, allocations: 194.2 MB / 283.2 MB, free: 3.465 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.001683/0.001683, allocations: 121.4 kB / 341.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.633e-06/6.663e-06, allocations: 0 / 404.9 MB, free: 27.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.152, allocations: 57.65 MB / 462.6 MB, free: 1.941 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.6133, allocations: 86.04 MB / 0.5358 GB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.6137, allocations: 76.77 kB / 0.5358 GB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01102/0.6247, allocations: 3.633 MB / 0.5394 GB, free: 7.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.316e-05/0.6248, allocations: 4 kB / 0.5394 GB, free: 7.922 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006678/0.6255, allocations: 0.5446 MB / 0.5399 GB, free: 7.336 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.6256, allocations: 11.97 kB / 0.5399 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.896e-05/0.6257, allocations: 31.62 kB / 0.54 GB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/0.6263, allocations: 366.7 kB / 0.5403 GB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.6263, allocations: 0 / 0.5403 GB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.6263, allocations: 8 kB / 0.5403 GB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.214e-05/0.6264, allocations: 25.69 kB / 0.5403 GB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.6265, allocations: 62.83 kB / 0.5404 GB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.6266, allocations: 0 / 0.5404 GB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.6266, allocations: 0 / 0.5404 GB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.6266, allocations: 0 / 0.5404 GB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.6272, allocations: 401.3 kB / 0.5408 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.6273, allocations: 42.62 kB / 0.5408 GB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/0.6274, allocations: 16.77 kB / 0.5408 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.6274, allocations: 0 / 0.5408 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.6275, allocations: 44.34 kB / 0.5409 GB, free: 6.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.6275, allocations: 4 kB / 0.5409 GB, free: 6.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002185/0.6277, allocations: 69.5 kB / 0.541 GB, free: 6.262 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.6277, allocations: 55.41 kB / 0.541 GB, free: 6.195 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005248/0.6283, allocations: 433.9 kB / 0.5414 GB, free: 5.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.6283, allocations: 25.7 kB / 0.5414 GB, free: 5.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.6284, allocations: 124 kB / 0.5416 GB, free: 5.609 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.6284, allocations: 7.812 kB / 0.5416 GB, free: 5.602 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.6284, allocations: 0 / 0.5416 GB, free: 5.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.6286, allocations: 346.8 kB / 0.5419 GB, free: 5.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.956e-05/0.6286, allocations: 12 kB / 0.5419 GB, free: 5.242 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-05/0.6286, allocations: 8 kB / 0.5419 GB, free: 5.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.6287, allocations: 12 kB / 0.5419 GB, free: 5.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6287, allocations: 0 / 0.5419 GB, free: 5.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001417/0.6288, allocations: 89.25 kB / 0.542 GB, free: 5.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.6288, allocations: 4 kB / 0.542 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6289, allocations: 0 / 0.542 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.6289, allocations: 0 / 0.542 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.629, allocations: 19.98 kB / 0.542 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.629, allocations: 0 / 0.542 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.877e-05/0.6291, allocations: 8 kB / 0.5421 GB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.6291, allocations: 0 / 0.5421 GB, free: 5.098 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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 8.695e-05/0.6292, allocations: 116.8 kB / 0.5422 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.6293, allocations: 23.72 kB / 0.5422 GB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.6295, allocations: 96.02 kB / 0.5423 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.6295, allocations: 7.969 kB / 0.5423 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.6295, allocations: 0 / 0.5423 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6295, allocations: 0 / 0.5423 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.6298, allocations: 242.1 kB / 0.5425 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.6298, allocations: 0 / 0.5425 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/0.6299, allocations: 16.17 kB / 0.5425 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6299, allocations: 0 / 0.5425 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.6299, allocations: 11.91 kB / 0.5425 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6299, allocations: 0 / 0.5425 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6299, allocations: 0 / 0.5425 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001599/0.6301, allocations: 171.2 kB / 0.5427 GB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.6302, allocations: 120.8 kB / 0.5428 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.6302, allocations: 0 / 0.5428 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.6304, allocations: 15.98 kB / 0.5428 GB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.6304, allocations: 3.906 kB / 0.5428 GB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.6304, allocations: 0 / 0.5428 GB, free: 4.199 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003894/0.6308, allocations: 344.5 kB / 0.5432 GB, free: 3.863 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002532/0.6311, allocations: 27.94 kB / 0.5432 GB, free: 3.836 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 (3): * Single equations (assignments): 3 * 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.0005692/0.6317, allocations: 230 kB / 0.5434 GB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.6318, allocations: 75.41 kB / 0.5435 GB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6318, allocations: 4 kB / 0.5435 GB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.646e-05/0.6319, allocations: 11.94 kB / 0.5435 GB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.6321, allocations: 29.2 kB / 0.5435 GB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006862/0.6328, allocations: 352.6 kB / 0.5439 GB, free: 3.141 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.6333, allocations: 0.8014 MB / 0.5446 GB, free: 2.316 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6333, allocations: 0 / 0.5446 GB, free: 2.316 MB / 378.7 MB Notification: Performance of Templates: time 0.005084/0.6384, allocations: 1.672 MB / 0.5463 GB, free: 0.6523 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table.makefile (rm -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table.sim & ./Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.Table.pipe 2>&1)