Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [: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.1.4-maint.8.1.x/package.mo): time 1.555/1.555, allocations: 289.8 MB / 297.1 MB, free: 8.965 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.001151/0.001151, allocations: 192.4 kB / 366.3 MB, free: 11.3 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.439/1.439, allocations: 205.1 MB / 0.6256 GB, free: 11.41 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 89.45 kB / 0.7396 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.026e-06/8.055e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1895, allocations: 116.3 MB / 0.9726 GB, free: 31.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.509/0.6985, allocations: 138.9 MB / 1.108 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.6987, allocations: 80.05 kB / 1.108 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.01204/0.7108, allocations: 3.811 MB / 1.112 GB, free: 16.08 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.433e-06/0.7108, allocations: 1.562 kB / 1.112 GB, free: 16.08 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002651/0.7111, allocations: 377.9 kB / 1.112 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.7111, allocations: 9.844 kB / 1.112 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.7114, allocations: 70.89 kB / 1.112 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.7115, allocations: 170 kB / 1.113 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.7115, allocations: 1.281 kB / 1.113 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.7116, allocations: 6.844 kB / 1.113 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.019e-05/0.7116, allocations: 23.02 kB / 1.113 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.384e-05/0.7117, allocations: 44.39 kB / 1.113 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.7117, allocations: 5.641 kB / 1.113 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.7118, allocations: 0.5625 kB / 1.113 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.7118, allocations: 1.531 kB / 1.113 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.7119, allocations: 143.2 kB / 1.113 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.948e-05/0.712, allocations: 53.11 kB / 1.113 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.712, allocations: 15.39 kB / 1.113 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.712, allocations: 1.125 kB / 1.113 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.7121, allocations: 41.45 kB / 1.113 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.7121, allocations: 0 / 1.113 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.002722/0.7148, allocations: 0.4898 MB / 1.113 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/0.7148, allocations: 55.05 kB / 1.113 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.607e-05/0.7149, allocations: 99.75 kB / 1.114 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.7149, allocations: 25.7 kB / 1.114 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.33e-05/0.7149, allocations: 90.88 kB / 1.114 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.715, allocations: 24.38 kB / 1.114 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/0.715, allocations: 0 / 1.114 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.263e-05/0.7151, allocations: 324 kB / 1.114 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.7151, allocations: 34.48 kB / 1.114 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.425e-05/0.7152, allocations: 39.7 kB / 1.114 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.7154, allocations: 60.8 kB / 1.114 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.7154, allocations: 0 / 1.114 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000322/0.7157, allocations: 148.3 kB / 1.114 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.7157, allocations: 4.5 kB / 1.114 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.7157, allocations: 4 kB / 1.114 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.7158, allocations: 0.75 kB / 1.114 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.7162, allocations: 76.64 kB / 1.114 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.7162, allocations: 1.031 kB / 1.114 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.7165, allocations: 53.52 kB / 1.114 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.7165, allocations: 6.344 kB / 1.114 GB, free: 14.46 MB / 0.6823 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 (9): * Single equations (assignments): 9 * 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.916e-05/0.7166, allocations: 111 kB / 1.115 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.7166, allocations: 6.375 kB / 1.115 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.7166, allocations: 10.33 kB / 1.115 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.7167, allocations: 1.5 kB / 1.115 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.7167, allocations: 7.938 kB / 1.115 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.7167, allocations: 4.969 kB / 1.115 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.7178, allocations: 0.5124 MB / 1.115 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.7178, allocations: 1.125 kB / 1.115 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.7181, allocations: 75.77 kB / 1.115 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.7182, allocations: 5.125 kB / 1.115 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.7182, allocations: 5.016 kB / 1.115 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.7182, allocations: 6.781 kB / 1.115 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7182, allocations: 1.125 kB / 1.115 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003042/0.7185, allocations: 271.5 kB / 1.115 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.7185, allocations: 80.39 kB / 1.115 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.7186, allocations: 4.938 kB / 1.116 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.7189, allocations: 50.03 kB / 1.116 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.7189, allocations: 9.75 kB / 1.116 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.719, allocations: 12.19 kB / 1.116 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.9e-05/0.719, allocations: 88.67 kB / 1.116 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002789/0.7193, allocations: 35.86 kB / 1.116 GB, free: 13.64 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001692/0.7195, allocations: 124.5 kB / 1.116 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.7197, allocations: 90.22 kB / 1.116 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.7197, allocations: 0 / 1.116 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.581e-05/0.7198, allocations: 47.78 kB / 1.116 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.7199, allocations: 6.25 kB / 1.116 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.7214, allocations: 376.4 kB / 1.116 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/0.7218, allocations: 0.7244 MB / 1.117 GB, free: 28.71 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.7218, allocations: 3.938 kB / 1.117 GB, free: 28.7 MB / 0.698 GB Notification: Performance of Templates: time 0.004191/0.726, allocations: 1.845 MB / 1.119 GB, free: 28.58 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)