Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.386/1.386, allocations: 285.5 MB / 292.8 MB, free: 9.977 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.0009679/0.0009679, allocations: 185.2 kB / 361.1 MB, free: 392 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.087/1.087, allocations: 205.1 MB / 0.6195 GB, free: 2.91 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008503/0.0008502, allocations: 102.9 kB / 0.7326 GB, free: 1.125 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.032e-05/1.033e-05, allocations: 3.438 kB / 0.8511 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1582, allocations: 115.3 MB / 0.9637 GB, free: 56.38 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.6083, allocations: 138.7 MB / 1.099 GB, free: 32.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001643/0.6085, allocations: 80.02 kB / 1.099 GB, free: 32.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01407/0.6226, allocations: 5.118 MB / 1.104 GB, free: 31.78 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.6226, allocations: 3.188 kB / 1.104 GB, free: 31.78 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003526/0.623, allocations: 385.6 kB / 1.105 GB, free: 31.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.623, allocations: 9.562 kB / 1.105 GB, free: 31.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.6234, allocations: 76.59 kB / 1.105 GB, free: 31.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.797e-05/0.6235, allocations: 177 kB / 1.105 GB, free: 31.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.6235, allocations: 8 kB / 1.105 GB, free: 31.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.6235, allocations: 3.219 kB / 1.105 GB, free: 31.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001059/0.6236, allocations: 39.98 kB / 1.105 GB, free: 31.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.6237, allocations: 75.3 kB / 1.105 GB, free: 31.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.6238, allocations: 0 / 1.105 GB, free: 31.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.6238, allocations: 0 / 1.105 GB, free: 31.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.6238, allocations: 3.906 kB / 1.105 GB, free: 31.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.6242, allocations: 305.3 kB / 1.105 GB, free: 30.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.513e-05/0.6243, allocations: 50.36 kB / 1.105 GB, free: 30.87 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.6244, allocations: 30.11 kB / 1.105 GB, free: 30.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.6244, allocations: 0 / 1.105 GB, free: 30.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.6244, allocations: 42.16 kB / 1.105 GB, free: 30.81 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.6244, allocations: 0 / 1.105 GB, free: 30.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.01413/0.6385, allocations: 2.178 MB / 1.108 GB, free: 30.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.675e-05/0.6386, allocations: 51.41 kB / 1.108 GB, free: 30.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.218e-05/0.6386, allocations: 91.48 kB / 1.108 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.6387, allocations: 25.7 kB / 1.108 GB, free: 30.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.097e-05/0.6387, allocations: 94.42 kB / 1.108 GB, free: 30 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.6388, allocations: 37.53 kB / 1.108 GB, free: 29.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.6388, allocations: 0 / 1.108 GB, free: 29.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.659e-05/0.6389, allocations: 321 kB / 1.108 GB, free: 29.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.6391, allocations: 112.5 kB / 1.108 GB, free: 29.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.6393, allocations: 110.4 kB / 1.108 GB, free: 29.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.6396, allocations: 131.6 kB / 1.108 GB, free: 29.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6396, allocations: 3.938 kB / 1.108 GB, free: 29.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007038/0.6403, allocations: 342.2 kB / 1.109 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.6403, allocations: 3.969 kB / 1.109 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.6403, allocations: 0 / 1.109 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6403, allocations: 3.875 kB / 1.109 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009105/0.6413, allocations: 122.7 kB / 1.109 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.6413, allocations: 0 / 1.109 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006843/0.642, allocations: 67.02 kB / 1.109 GB, free: 29.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.642, allocations: 27.33 kB / 1.109 GB, free: 29.6 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 (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.0001044/0.6421, allocations: 107.7 kB / 1.109 GB, free: 29.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.6422, allocations: 10.27 kB / 1.109 GB, free: 29.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.6422, allocations: 7.938 kB / 1.109 GB, free: 29.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.6423, allocations: 3.875 kB / 1.109 GB, free: 29.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6423, allocations: 0 / 1.109 GB, free: 29.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.6423, allocations: 0 / 1.109 GB, free: 29.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.6435, allocations: 0.8852 MB / 1.11 GB, free: 44.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6435, allocations: 0 / 1.11 GB, free: 44.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008906/0.6444, allocations: 122.3 kB / 1.11 GB, free: 44.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.6444, allocations: 0 / 1.11 GB, free: 44.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.548e-05/0.6445, allocations: 24.64 kB / 1.11 GB, free: 44.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6445, allocations: 3.875 kB / 1.11 GB, free: 44.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6445, allocations: 0 / 1.11 GB, free: 44.94 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001008/0.6455, allocations: 0.576 MB / 1.111 GB, free: 44.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.6457, allocations: 118.8 kB / 1.111 GB, free: 44.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/0.6458, allocations: 0 / 1.111 GB, free: 44.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007549/0.6466, allocations: 62.83 kB / 1.111 GB, free: 44.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/0.6467, allocations: 28.33 kB / 1.111 GB, free: 44.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.746e-05/0.6467, allocations: 26.8 kB / 1.111 GB, free: 44.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.148e-05/0.6468, allocations: 89.05 kB / 1.111 GB, free: 44.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003668/0.6471, allocations: 56.91 kB / 1.111 GB, free: 44.61 MB / 0.7292 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.0001949/0.6473, allocations: 127.2 kB / 1.111 GB, free: 44.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004849/0.6478, allocations: 261.3 kB / 1.111 GB, free: 44.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6478, allocations: 3.938 kB / 1.111 GB, free: 44.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.6481, allocations: 148.6 kB / 1.112 GB, free: 44.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.6483, allocations: 3.328 kB / 1.112 GB, free: 44.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.6525, allocations: 0.8099 MB / 1.112 GB, free: 44.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006043/0.6531, allocations: 0.8169 MB / 1.113 GB, free: 43.64 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.6531, allocations: 0 / 1.113 GB, free: 43.64 MB / 0.7292 GB Notification: Performance of Templates: time 0.00655/0.6596, allocations: 5.772 MB / 1.119 GB, free: 43.31 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)