Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic") translateModel(IBPSA.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic") [: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/Complex 4.0.0+maint.om/package.mo): time 0.0009846/0.0009847, allocations: 187.3 kB / 7.802 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4355/0.4355, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 221.4 MB / 342.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009909/0.0009909, allocations: 97.34 kB / 415.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.853e-06, allocations: 0 / 493.9 MB, free: 8.031 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3633, allocations: 72.31 MB / 0.5529 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.4792, allocations: 100.8 MB / 0.6513 GB, free: 9.215 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.4795, allocations: 71.95 kB / 0.6514 GB, free: 9.145 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003854/0.4833, allocations: 0.9651 MB / 0.6523 GB, free: 8.223 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.4834, allocations: 4 kB / 0.6523 GB, free: 8.219 MB / 474.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.0004976/0.4839, allocations: 376.9 kB / 0.6527 GB, free: 7.809 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4839, allocations: 8.75 kB / 0.6527 GB, free: 7.801 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.484, allocations: 7.906 kB / 0.6527 GB, free: 7.793 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.4841, allocations: 171.7 kB / 0.6529 GB, free: 7.586 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.4841, allocations: 0 / 0.6529 GB, free: 7.586 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.4842, allocations: 4.5 kB / 0.6529 GB, free: 7.582 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000157/0.4843, allocations: 64.67 kB / 0.6529 GB, free: 7.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.4845, allocations: 84.89 kB / 0.653 GB, free: 7.434 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4845, allocations: 5.219 kB / 0.653 GB, free: 7.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.4845, allocations: 3.938 kB / 0.653 GB, free: 7.426 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.4846, allocations: 19.89 kB / 0.653 GB, free: 7.406 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006661/0.4853, allocations: 351 kB / 0.6534 GB, free: 7.031 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.869e-05/0.4853, allocations: 38.56 kB / 0.6534 GB, free: 6.984 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.4854, allocations: 12.86 kB / 0.6534 GB, free: 6.969 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/0.4857, allocations: 121.2 kB / 0.6535 GB, free: 6.832 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.4857, allocations: 39.06 kB / 0.6536 GB, free: 6.785 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.4857, allocations: 4 kB / 0.6536 GB, free: 6.781 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003015/0.486, allocations: 73.56 kB / 0.6536 GB, free: 6.703 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.4861, allocations: 55.39 kB / 0.6537 GB, free: 6.637 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.4862, allocations: 135 kB / 0.6538 GB, free: 6.496 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.4862, allocations: 25.7 kB / 0.6538 GB, free: 6.465 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.4863, allocations: 122.9 kB / 0.654 GB, free: 6.344 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.4863, allocations: 7.906 kB / 0.654 GB, free: 6.336 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.4863, allocations: 0 / 0.654 GB, free: 6.336 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4864, allocations: 318.8 kB / 0.6543 GB, free: 6.016 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.4865, allocations: 28 kB / 0.6543 GB, free: 5.988 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.931e-05/0.4866, allocations: 89.38 kB / 0.6544 GB, free: 5.867 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.4867, allocations: 55.94 kB / 0.6544 GB, free: 5.812 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4867, allocations: 0 / 0.6544 GB, free: 5.812 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002654/0.487, allocations: 141.5 kB / 0.6546 GB, free: 5.668 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.487, allocations: 4 kB / 0.6546 GB, free: 5.664 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.487, allocations: 6.625 kB / 0.6546 GB, free: 5.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.4871, allocations: 4 kB / 0.6546 GB, free: 5.656 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.4873, allocations: 48.06 kB / 0.6546 GB, free: 5.609 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.4873, allocations: 3.906 kB / 0.6546 GB, free: 5.605 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.4874, allocations: 35.83 kB / 0.6547 GB, free: 5.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.4875, allocations: 8 kB / 0.6547 GB, free: 5.562 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.904e-05/0.4876, allocations: 112.9 kB / 0.6548 GB, free: 5.445 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.4876, allocations: 7.906 kB / 0.6548 GB, free: 5.438 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.4879, allocations: 89.77 kB / 0.6549 GB, free: 5.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4879, allocations: 3.938 kB / 0.6549 GB, free: 5.336 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4879, allocations: 0 / 0.6549 GB, free: 5.336 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4879, allocations: 0 / 0.6549 GB, free: 5.336 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.4881, allocations: 162 kB / 0.655 GB, free: 5.141 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4881, allocations: 144 / 0.655 GB, free: 5.141 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.4882, allocations: 27.98 kB / 0.6551 GB, free: 5.113 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.4882, allocations: 3.984 kB / 0.6551 GB, free: 5.109 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.4882, allocations: 0 / 0.6551 GB, free: 5.109 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4882, allocations: 1.562 kB / 0.6551 GB, free: 5.109 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4883, allocations: 0 / 0.6551 GB, free: 5.109 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002186/0.4885, allocations: 179.3 kB / 0.6552 GB, free: 4.918 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.4885, allocations: 81.02 kB / 0.6553 GB, free: 4.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.4886, allocations: 4 kB / 0.6553 GB, free: 4.816 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.4887, allocations: 15.98 kB / 0.6553 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.4888, allocations: 11.89 kB / 0.6553 GB, free: 4.789 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.4888, allocations: 4 kB / 0.6553 GB, free: 4.785 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.376e-05/0.4888, allocations: 116.9 kB / 0.6555 GB, free: 4.676 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.4891, allocations: 12 kB / 0.6555 GB, free: 4.664 MB / 474.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.000152/0.4893, allocations: 103.2 kB / 0.6556 GB, free: 4.555 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.4894, allocations: 55.86 kB / 0.6556 GB, free: 4.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4894, allocations: 0 / 0.6556 GB, free: 4.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/0.4895, allocations: 12 kB / 0.6556 GB, free: 4.488 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.4896, allocations: 4.625 kB / 0.6556 GB, free: 4.484 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.4899, allocations: 107.5 kB / 0.6557 GB, free: 4.355 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.4902, allocations: 0.7149 MB / 0.6564 GB, free: 3.617 MB / 474.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4903, allocations: 0 / 0.6564 GB, free: 3.617 MB / 474.7 MB Notification: Performance of Templates: time 0.003096/0.4934, allocations: 0.9268 MB / 0.6573 GB, free: 2.723 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Bicubic.pipe 2>&1)