Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.182/2.182, allocations: 253.1 MB / 260.4 MB, free: 0.5547 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.001578/0.001578, allocations: 194.7 kB / 319.6 MB, free: 7.676 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.954/1.954, allocations: 205.4 MB / 0.5704 GB, free: 25.86 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.001867/0.001867, allocations: 100.1 kB / 0.6746 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 9.818e-06/9.919e-06, allocations: 0 / 0.7843 GB, free: 2.934 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5088/0.5089, allocations: 106.2 MB / 0.8881 GB, free: 77.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.213/0.7219, allocations: 131.5 MB / 1.016 GB, free: 9.52 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.7223, allocations: 79.94 kB / 1.017 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.0222/0.7445, allocations: 3.819 MB / 1.02 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.7446, allocations: 0 / 1.02 GB, free: 5.621 MB / 0.6667 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.0005271/0.7451, allocations: 382.1 kB / 1.021 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.7452, allocations: 12.03 kB / 1.021 GB, free: 5.191 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005379/0.7457, allocations: 59.84 kB / 1.021 GB, free: 5.133 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.7459, allocations: 167.1 kB / 1.021 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.7459, allocations: 0 / 1.021 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.746, allocations: 0 / 1.021 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000118/0.7461, allocations: 31.92 kB / 1.021 GB, free: 4.898 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.7462, allocations: 49.58 kB / 1.021 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.7462, allocations: 0 / 1.021 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.7463, allocations: 0 / 1.021 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.7463, allocations: 0 / 1.021 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.7465, allocations: 146.3 kB / 1.021 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.7467, allocations: 49.64 kB / 1.021 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/0.7468, allocations: 16.98 kB / 1.021 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.7468, allocations: 4 kB / 1.021 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.7469, allocations: 34.47 kB / 1.021 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.7469, allocations: 0 / 1.021 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of matching and sorting (n=9): time 0.00528/0.7521, allocations: 496.9 kB / 1.022 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.7522, allocations: 55.41 kB / 1.022 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.7524, allocations: 108.9 kB / 1.022 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.7525, allocations: 25.7 kB / 1.022 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.7525, allocations: 88.23 kB / 1.022 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.7526, allocations: 35.48 kB / 1.022 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.7526, allocations: 0 / 1.022 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.7528, allocations: 314.8 kB / 1.022 GB, free: 3.398 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.7529, allocations: 39.98 kB / 1.022 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.7531, allocations: 35.98 kB / 1.022 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.7534, allocations: 55.94 kB / 1.022 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7534, allocations: 4 kB / 1.022 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005915/0.754, allocations: 149.4 kB / 1.022 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.7541, allocations: 6.031 kB / 1.023 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.7541, allocations: 0 / 1.023 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.7541, allocations: 0 / 1.023 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008115/0.7549, allocations: 79.91 kB / 1.023 GB, free: 3.031 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7549, allocations: 0 / 1.023 GB, free: 3.031 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/0.7555, allocations: 55.88 kB / 1.023 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.7556, allocations: 11.97 kB / 1.023 GB, free: 2.965 MB / 0.6667 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 0.0001244/0.7557, allocations: 101 kB / 1.023 GB, free: 2.859 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.7558, allocations: 11.84 kB / 1.023 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.7558, allocations: 12.38 kB / 1.023 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.7559, allocations: 3.984 kB / 1.023 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.7559, allocations: 0 / 1.023 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7559, allocations: 0 / 1.023 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.7581, allocations: 0.518 MB / 1.023 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.7581, allocations: 0 / 1.023 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/0.7588, allocations: 83.92 kB / 1.023 GB, free: 2.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.7588, allocations: 3.906 kB / 1.023 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.7589, allocations: 7.984 kB / 1.023 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.7589, allocations: 288 / 1.023 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.7589, allocations: 4 kB / 1.023 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005879/0.7595, allocations: 272.4 kB / 1.024 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.7596, allocations: 85 kB / 1.024 GB, free: 1.762 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.7596, allocations: 4 kB / 1.024 GB, free: 1.758 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005992/0.7602, allocations: 51.95 kB / 1.024 GB, free: 1.707 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.7603, allocations: 7.984 kB / 1.024 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.7604, allocations: 7.984 kB / 1.024 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.376e-05/0.7604, allocations: 91.66 kB / 1.024 GB, free: 1.602 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004274/0.7609, allocations: 43.77 kB / 1.024 GB, free: 1.559 MB / 0.6667 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.0002569/0.7611, allocations: 119.2 kB / 1.024 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003716/0.7615, allocations: 91.89 kB / 1.024 GB, free: 1.344 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.7615, allocations: 0 / 1.024 GB, free: 1.344 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.7617, allocations: 47.97 kB / 1.024 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.7619, allocations: 0 / 1.024 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.7649, allocations: 389.4 kB / 1.025 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/0.7655, allocations: 0.7153 MB / 1.025 GB, free: 144 kB / 0.6667 GB Notification: Performance of SimCode: time 1.302e-06/0.7655, allocations: 0 / 1.025 GB, free: 144 kB / 0.6667 GB Notification: Performance of Templates: time 0.006488/0.772, allocations: 1.835 MB / 1.027 GB, free: 14.3 MB / 0.6823 GB