Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [: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.0.1-maint.8.0.x/package.mo): time 1.34/1.34, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009327/0.0009327, allocations: 185.3 kB / 361.1 MB, free: 7.098 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.055/1.055, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007756/0.0007752, allocations: 90.19 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.716e-06, allocations: 4 kB / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4183, allocations: 115.3 MB / 0.9637 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.5536, allocations: 138 MB / 1.098 GB, free: 2.07 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.5539, allocations: 77.88 kB / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01241/0.5663, allocations: 3.761 MB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.5663, allocations: 0 / 1.102 GB, free: 14.3 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003441/0.5667, allocations: 362.3 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.5667, allocations: 16.47 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.5671, allocations: 75.83 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.5673, allocations: 167 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.5673, allocations: 0 / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.5673, allocations: 4 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.642e-05/0.5674, allocations: 17.03 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.5675, allocations: 49.66 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.5675, allocations: 3.938 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.5675, allocations: 7.906 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5675, allocations: 4 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.5677, allocations: 134.2 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.5679, allocations: 50.61 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/0.568, allocations: 28.98 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-05/0.5681, allocations: 81.11 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.5681, allocations: 34.56 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.5681, allocations: 4 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.001257/0.5694, allocations: 443.5 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.5694, allocations: 55.41 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.565e-05/0.5695, allocations: 89 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.5695, allocations: 25.7 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.5695, allocations: 80.14 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.5696, allocations: 23.64 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.5696, allocations: 0 / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.5697, allocations: 314.8 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.5697, allocations: 12.12 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.889e-05/0.5698, allocations: 16 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.57, allocations: 71.89 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5701, allocations: 0 / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003701/0.5704, allocations: 125.4 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.5705, allocations: 4 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5705, allocations: 0 / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.5705, allocations: 0 / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.5706, allocations: 36.78 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.5707, allocations: 0 / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.5708, allocations: 19.92 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.5708, allocations: 0 / 1.104 GB, free: 11.74 MB / 0.7136 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 (6): * Single equations (assignments): 6 * 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 5.806e-05/0.5709, allocations: 105 kB / 1.104 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.5709, allocations: 7.906 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.5714, allocations: 150.5 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5714, allocations: 0 / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.5714, allocations: 0 / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.5714, allocations: 0 / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.5715, allocations: 142.2 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5715, allocations: 0 / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.5717, allocations: 35.88 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5717, allocations: 0 / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.5717, allocations: 6.406 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.5717, allocations: 0 / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5717, allocations: 0 / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004409/0.5722, allocations: 176.9 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.5723, allocations: 81.09 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.5723, allocations: 9.234 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.5724, allocations: 20.05 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.5724, allocations: 0 / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.5725, allocations: 4 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.402e-05/0.5725, allocations: 79.19 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002262/0.5727, allocations: 43.92 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001858/0.5729, allocations: 139.1 kB / 1.105 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.5731, allocations: 43.98 kB / 1.105 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5731, allocations: 2.625 kB / 1.105 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.189e-05/0.5731, allocations: 19.94 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.582e-05/0.5732, allocations: 4 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.5737, allocations: 133 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.574, allocations: 0.7044 MB / 1.106 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.574, allocations: 0 / 1.106 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of Templates: time 0.002883/0.5769, allocations: 1.313 MB / 1.108 GB, free: 8.445 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)