Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.47/1.47, allocations: 289.8 MB / 297.1 MB, free: 6.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 185.2 kB / 366.3 MB, free: 1.957 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 0.6256 GB, free: 5.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009491/0.0009489, allocations: 89.97 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.482e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6461, allocations: 116.3 MB / 0.9726 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.8046, allocations: 138.2 MB / 1.107 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.8049, allocations: 80.27 kB / 1.108 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003457/0.8084, allocations: 0.9607 MB / 1.108 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.8084, allocations: 0 / 1.108 GB, free: 9.273 MB / 0.7136 GB 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.0004235/0.8088, allocations: 386.2 kB / 1.109 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.8089, allocations: 8.031 kB / 1.109 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.8089, allocations: 12.47 kB / 1.109 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.809, allocations: 170.9 kB / 1.109 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.809, allocations: 0 / 1.109 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.8091, allocations: 0 / 1.109 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001469/0.8092, allocations: 71.92 kB / 1.109 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.8093, allocations: 77.67 kB / 1.109 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.8093, allocations: 0.6562 kB / 1.109 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.8094, allocations: 0 / 1.109 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.8094, allocations: 11.98 kB / 1.109 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.81, allocations: 361.1 kB / 1.11 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.62e-05/0.8101, allocations: 34.52 kB / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.8101, allocations: 16.94 kB / 1.11 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/0.8104, allocations: 125.1 kB / 1.11 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.8104, allocations: 31.78 kB / 1.11 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.8104, allocations: 0 / 1.11 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002418/0.8106, allocations: 77.56 kB / 1.11 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.8107, allocations: 51.41 kB / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.8108, allocations: 137.2 kB / 1.11 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.8108, allocations: 29.7 kB / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.8109, allocations: 111.7 kB / 1.11 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.8109, allocations: 15.81 kB / 1.11 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.8109, allocations: 0 / 1.11 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.811, allocations: 318.8 kB / 1.11 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-05/0.8111, allocations: 24 kB / 1.11 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/0.8111, allocations: 92.62 kB / 1.111 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.8113, allocations: 59.88 kB / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8113, allocations: 1.875 kB / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002502/0.8116, allocations: 145.4 kB / 1.111 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.8116, allocations: 4 kB / 1.111 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.8116, allocations: 4 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.8116, allocations: 0 / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.8118, allocations: 48.22 kB / 1.111 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.8118, allocations: 4 kB / 1.111 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.812, allocations: 35.83 kB / 1.111 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.812, allocations: 8 kB / 1.111 GB, free: 6.605 MB / 0.7136 GB 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 7.178e-05/0.8121, allocations: 108.9 kB / 1.111 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.8121, allocations: 15.8 kB / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.8123, allocations: 89.77 kB / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8123, allocations: 0 / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.8124, allocations: 0 / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.8124, allocations: 0 / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.8125, allocations: 162.1 kB / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.8125, allocations: 0 / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.8126, allocations: 27.98 kB / 1.111 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8127, allocations: 7.938 kB / 1.111 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.8127, allocations: 3.906 kB / 1.111 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8127, allocations: 2.438 kB / 1.111 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8127, allocations: 0 / 1.111 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001992/0.8129, allocations: 173.9 kB / 1.111 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.8129, allocations: 89 kB / 1.112 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.813, allocations: 0 / 1.112 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.8131, allocations: 15.98 kB / 1.112 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.8131, allocations: 8 kB / 1.112 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.8131, allocations: 3.984 kB / 1.112 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.403e-05/0.8132, allocations: 103.3 kB / 1.112 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002732/0.8135, allocations: 19.91 kB / 1.112 GB, free: 5.707 MB / 0.7136 GB 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.0001336/0.8136, allocations: 99.25 kB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.8138, allocations: 56.36 kB / 1.112 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8138, allocations: 128 / 1.112 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.173e-05/0.8138, allocations: 16 kB / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.814, allocations: 14.91 kB / 1.112 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.8143, allocations: 103.5 kB / 1.112 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/0.8146, allocations: 0.7149 MB / 1.113 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.8146, allocations: 0 / 1.113 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of Templates: time 0.002995/0.8176, allocations: 0.9292 MB / 1.114 GB, free: 3.758 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1)