Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Bicubic.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.973/2.973, allocations: 248.6 MB / 255.9 MB, free: 7.117 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002334/0.002333, allocations: 195.8 kB / 315.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.323/2.323, allocations: 205.1 MB / 0.5658 GB, free: 408 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 87.28 kB / 0.67 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5325/0.5341, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.8042, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8325/1.637, allocations: 131.7 MB / 1.012 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/1.637, allocations: 71.33 kB / 1.012 GB, free: 8.438 MB / 0.6355 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.01194/1.649, allocations: 1.331 MB / 1.013 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/1.649, allocations: 8 kB / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/1.649, allocations: 7.906 kB / 1.014 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/1.65, allocations: 174.9 kB / 1.014 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/1.65, allocations: 3.984 kB / 1.014 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/1.65, allocations: 0 / 1.014 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003379/1.65, allocations: 68.17 kB / 1.014 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/1.65, allocations: 82.84 kB / 1.014 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.65, allocations: 0 / 1.014 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/1.65, allocations: 3.906 kB / 1.014 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.918e-05/1.651, allocations: 22.98 kB / 1.014 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/1.652, allocations: 359.5 kB / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/1.652, allocations: 32.89 kB / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/1.652, allocations: 12.05 kB / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000679/1.653, allocations: 133.1 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/1.653, allocations: 31.31 kB / 1.014 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 4.439e-06/1.653, allocations: 0 / 1.014 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0005924/1.654, allocations: 72.5 kB / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/1.654, allocations: 54.03 kB / 1.015 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/1.654, allocations: 140.6 kB / 1.015 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/1.654, allocations: 25.7 kB / 1.015 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/1.654, allocations: 123.5 kB / 1.015 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/1.654, allocations: 11.09 kB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/1.654, allocations: 3.938 kB / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000194/1.655, allocations: 318.3 kB / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/1.655, allocations: 23.05 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/1.655, allocations: 88.38 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/1.655, allocations: 58.2 kB / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.655, allocations: 0 / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006941/1.656, allocations: 139.1 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/1.656, allocations: 7.984 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/1.656, allocations: 4 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/1.656, allocations: 4 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006281/1.657, allocations: 39.17 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/1.657, allocations: 11.89 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/1.657, allocations: 35.83 kB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/1.657, allocations: 7.938 kB / 1.015 GB, free: 5.066 MB / 0.6355 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 0.0001511/1.658, allocations: 107.5 kB / 1.016 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.204e-05/1.658, allocations: 11.78 kB / 1.016 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006673/1.658, allocations: 96.14 kB / 1.016 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/1.658, allocations: 0 / 1.016 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.658, allocations: 0 / 1.016 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.658, allocations: 0 / 1.016 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/1.659, allocations: 161.5 kB / 1.016 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.659, allocations: 4 kB / 1.016 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/1.659, allocations: 19.98 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/1.659, allocations: 7.984 kB / 1.016 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/1.659, allocations: 0 / 1.016 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/1.659, allocations: 3.312 kB / 1.016 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.659, allocations: 4 kB / 1.016 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000527/1.66, allocations: 166.2 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006875/1.661, allocations: 0.5441 MB / 1.017 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/1.661, allocations: 89 kB / 1.017 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/1.661, allocations: 0 / 1.017 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/1.661, allocations: 19.98 kB / 1.017 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/1.661, allocations: 4 kB / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/1.661, allocations: 3.984 kB / 1.017 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001217/1.661, allocations: 105.9 kB / 1.017 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001251/1.662, allocations: 24 kB / 1.017 GB, free: 3.668 MB / 0.6355 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.0002501/1.663, allocations: 99.16 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002567/1.663, allocations: 53.92 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.663, allocations: 7.938 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.959e-05/1.663, allocations: 11.75 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/1.663, allocations: 4.562 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/1.664, allocations: 109.9 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005325/1.664, allocations: 0.7149 MB / 1.018 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/1.664, allocations: 0 / 1.018 GB, free: 2.645 MB / 0.6355 GB