Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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 3.044/3.044, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.003454/0.003453, allocations: 196.1 kB / 315.1 MB, free: 4.281 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.604/2.604, allocations: 205.1 MB / 0.5658 GB, free: 452 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.002134/0.002134, allocations: 91.27 kB / 0.67 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5502/0.5524, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.8409, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7319/1.573, allocations: 133.3 MB / 1.014 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003894/1.573, allocations: 76.58 kB / 1.014 GB, free: 6.977 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.03753/1.611, allocations: 5.516 MB / 1.019 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/1.611, allocations: 12 kB / 1.019 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/1.612, allocations: 74.52 kB / 1.019 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/1.612, allocations: 167 kB / 1.019 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/1.612, allocations: 4 kB / 1.019 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.849e-05/1.613, allocations: 15.89 kB / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002633/1.613, allocations: 42.25 kB / 1.019 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/1.613, allocations: 68.78 kB / 1.019 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/1.613, allocations: 0 / 1.019 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/1.613, allocations: 0 / 1.019 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/1.613, allocations: 4 kB / 1.019 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/1.614, allocations: 313.5 kB / 1.02 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/1.615, allocations: 53.5 kB / 1.02 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/1.615, allocations: 20.61 kB / 1.02 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/1.615, allocations: 0 / 1.02 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/1.615, allocations: 41.94 kB / 1.02 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.745e-06/1.615, allocations: 0 / 1.02 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.04283/1.658, allocations: 2.177 MB / 1.022 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/1.658, allocations: 55.41 kB / 1.022 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/1.658, allocations: 92.25 kB / 1.022 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/1.658, allocations: 25.7 kB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.701e-05/1.658, allocations: 88.06 kB / 1.022 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/1.658, allocations: 41.36 kB / 1.022 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/1.659, allocations: 0 / 1.022 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002093/1.659, allocations: 322.2 kB / 1.023 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007382/1.66, allocations: 112.2 kB / 1.023 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/1.66, allocations: 112.7 kB / 1.023 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/1.661, allocations: 134.3 kB / 1.023 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.661, allocations: 0 / 1.023 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002717/1.664, allocations: 341.5 kB / 1.023 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/1.664, allocations: 8 kB / 1.023 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.664, allocations: 4 kB / 1.023 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/1.664, allocations: 0 / 1.023 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/1.668, allocations: 119.8 kB / 1.023 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/1.668, allocations: 0 / 1.023 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/1.67, allocations: 64.03 kB / 1.023 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/1.67, allocations: 35.05 kB / 1.023 GB, free: 14 MB / 0.6511 GB 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 (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.0003295/1.671, allocations: 101.6 kB / 1.024 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/1.671, allocations: 7.906 kB / 1.024 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.777e-05/1.671, allocations: 15.25 kB / 1.024 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/1.671, allocations: 0 / 1.024 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.671, allocations: 0 / 1.024 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/1.671, allocations: 7.906 kB / 1.024 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/1.674, allocations: 0.8822 MB / 1.024 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.674, allocations: 0 / 1.024 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/1.676, allocations: 123.8 kB / 1.025 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/1.676, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/1.676, allocations: 23.84 kB / 1.025 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/1.676, allocations: 4.016 kB / 1.025 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/1.676, allocations: 7.969 kB / 1.025 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002219/1.679, allocations: 0.5772 MB / 1.025 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002935/1.681, allocations: 1.107 MB / 1.026 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/1.682, allocations: 120.9 kB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/1.682, allocations: 3.984 kB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/1.684, allocations: 63.94 kB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/1.684, allocations: 35.86 kB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/1.684, allocations: 19.94 kB / 1.027 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001022/1.684, allocations: 82.41 kB / 1.027 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001963/1.686, allocations: 59.84 kB / 1.027 GB, free: 11.07 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005374/1.687, allocations: 111.6 kB / 1.027 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001149/1.688, allocations: 266.6 kB / 1.027 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.688, allocations: 3.938 kB / 1.027 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005509/1.689, allocations: 145.7 kB / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/1.689, allocations: 5.5 kB / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/1.699, allocations: 0.8095 MB / 1.028 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/1.7, allocations: 0.8127 MB / 1.029 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of SimCode: time 2.024e-06/1.701, allocations: 0 / 1.029 GB, free: 9.027 MB / 0.6511 GB