Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.167/2.167, allocations: 253.1 MB / 260.4 MB, free: 7.547 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001624, allocations: 181 kB / 319.6 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.892/1.892, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001231/0.001231, allocations: 101.5 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.158e-05/1.17e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2242, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6522/0.8764, allocations: 133.3 MB / 1.018 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.8768, allocations: 82.75 kB / 1.018 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02942/0.9063, allocations: 5.132 MB / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.9063, allocations: 4 kB / 1.023 GB, free: 0.7812 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.0007558/0.9071, allocations: 396.8 kB / 1.024 GB, free: 364 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.9072, allocations: 8.031 kB / 1.024 GB, free: 356 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007028/0.9079, allocations: 71.83 kB / 1.024 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.908, allocations: 175 kB / 1.024 GB, free: 68 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.9081, allocations: 0 / 1.024 GB, free: 68 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.9081, allocations: 15.84 kB / 1.024 GB, free: 52 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001711/0.9083, allocations: 34 kB / 1.024 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.9086, allocations: 72.59 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.9087, allocations: 0 / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.9087, allocations: 0 / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.9087, allocations: 7.938 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008387/0.9096, allocations: 309.2 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.9098, allocations: 47.52 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.248e-05/0.9099, allocations: 16.11 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.9099, allocations: 7.125 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.9099, allocations: 34.56 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.986e-06/0.91, allocations: 0 / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.02981/0.9398, allocations: 2.182 MB / 1.027 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.9399, allocations: 51.41 kB / 1.027 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/0.94, allocations: 104.3 kB / 1.027 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.328e-05/0.9401, allocations: 25.7 kB / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.9401, allocations: 87.7 kB / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.761e-05/0.9402, allocations: 43.11 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.9403, allocations: 0 / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.9405, allocations: 314.2 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/0.9409, allocations: 115.7 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.9413, allocations: 111.6 kB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006633/0.942, allocations: 138.8 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.942, allocations: 96 / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001483/0.9435, allocations: 337 kB / 1.028 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.9436, allocations: 6.188 kB / 1.028 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.9436, allocations: 4 kB / 1.028 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.9436, allocations: 0 / 1.028 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.9454, allocations: 123.7 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.9455, allocations: 0 / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.9469, allocations: 67.92 kB / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.947, allocations: 26.5 kB / 1.028 GB, free: 12.07 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.0003425/0.9474, allocations: 101.6 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.9476, allocations: 7.906 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.563e-05/0.9477, allocations: 11.5 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.9477, allocations: 8 kB / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9477, allocations: 0 / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.9478, allocations: 3.906 kB / 1.028 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/0.9512, allocations: 0.8847 MB / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.9512, allocations: 0 / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/0.9532, allocations: 123.8 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.9532, allocations: 0 / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.9533, allocations: 27.83 kB / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.9534, allocations: 4 kB / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9534, allocations: 0 / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002162/0.9555, allocations: 0.5806 MB / 1.03 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/0.9558, allocations: 120.2 kB / 1.03 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.956, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.9575, allocations: 64 kB / 1.03 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.9577, allocations: 31.48 kB / 1.03 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.9579, allocations: 19.94 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.29e-05/0.9579, allocations: 79.28 kB / 1.03 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006351/0.9586, allocations: 63.67 kB / 1.03 GB, free: 10.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.0003063/0.9589, allocations: 111.2 kB / 1.03 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.96, allocations: 263.7 kB / 1.03 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.96, allocations: 0 / 1.03 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005777/0.9606, allocations: 152.5 kB / 1.031 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.9609, allocations: 4 kB / 1.031 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008752/0.9697, allocations: 0.8041 MB / 1.031 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/0.9709, allocations: 0.8122 MB / 1.032 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of SimCode: time 1.693e-06/0.9709, allocations: 4 kB / 1.032 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of Templates: time 0.01503/0.9859, allocations: 5.777 MB / 1.038 GB, free: 2.25 MB / 0.6511 GB