Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.492/0.492, allocations: 94.74 MB / 102 MB, free: 10.35 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001142/0.001142, allocations: 170.8 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.303/1.303, allocations: 170.5 MB / 319 MB, free: 9.582 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001723/0.001723, allocations: 106.6 kB / 381 MB, free: 18.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.093e-05/1.097e-05, allocations: 4 kB / 448.6 MB, free: 2.133 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1312, allocations: 61.52 MB / 0.4981 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3285/0.4598, allocations: 92.35 MB / 0.5883 GB, free: 10.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.4601, allocations: 75.95 kB / 0.5884 GB, free: 10.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.004827/0.4649, allocations: 1.412 MB / 0.5898 GB, free: 8.641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.4649, allocations: 0 / 0.5898 GB, free: 8.641 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003275/0.4653, allocations: 323 kB / 0.5901 GB, free: 8.285 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4653, allocations: 9.031 kB / 0.5901 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.4654, allocations: 5.547 kB / 0.5901 GB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.4655, allocations: 160.6 kB / 0.5903 GB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.4656, allocations: 4 kB / 0.5903 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.4656, allocations: 0 / 0.5903 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.315e-05/0.4656, allocations: 4 kB / 0.5903 GB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.497e-05/0.4657, allocations: 40.34 kB / 0.5903 GB, free: 8.027 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.4657, allocations: 0 / 0.5903 GB, free: 8.027 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.4657, allocations: 1.406 kB / 0.5903 GB, free: 8.027 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.4657, allocations: 4 kB / 0.5903 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.4659, allocations: 126.3 kB / 0.5904 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.994e-05/0.466, allocations: 42.55 kB / 0.5905 GB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.466, allocations: 15.39 kB / 0.5905 GB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004466/0.4665, allocations: 410.2 kB / 0.5909 GB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4665, allocations: 40.14 kB / 0.5909 GB, free: 7.262 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4665, allocations: 0 / 0.5909 GB, free: 7.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001663/0.4667, allocations: 41.64 kB / 0.5909 GB, free: 7.219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.4668, allocations: 56.38 kB / 0.591 GB, free: 7.152 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.331e-05/0.4668, allocations: 96.11 kB / 0.5911 GB, free: 7.055 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.4668, allocations: 25.7 kB / 0.5911 GB, free: 7.023 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.4669, allocations: 80.14 kB / 0.5912 GB, free: 6.941 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.4669, allocations: 11.84 kB / 0.5912 GB, free: 6.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.4669, allocations: 0 / 0.5912 GB, free: 6.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4671, allocations: 318.8 kB / 0.5915 GB, free: 6.609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.4671, allocations: 0 / 0.5915 GB, free: 6.609 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.054e-05/0.4671, allocations: 4.5 kB / 0.5915 GB, free: 6.605 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.991e-05/0.4671, allocations: 5.594 kB / 0.5915 GB, free: 6.602 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.4671, allocations: 0.75 kB / 0.5915 GB, free: 6.602 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.385e-05/0.4672, allocations: 41.69 kB / 0.5916 GB, free: 6.555 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.4672, allocations: 8 kB / 0.5916 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.4673, allocations: 0.8438 kB / 0.5916 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.4673, allocations: 0 / 0.5916 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.429e-05/0.4674, allocations: 10.64 kB / 0.5916 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.4674, allocations: 0.7031 kB / 0.5916 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.501e-05/0.4674, allocations: 3.906 kB / 0.5916 GB, free: 6.535 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.4674, allocations: 5.875 kB / 0.5916 GB, free: 6.531 MB / 410.7 MB 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 (3): * Single equations (assignments): 3 * 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 7.15e-05/0.4675, allocations: 107.8 kB / 0.5917 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.4675, allocations: 0 / 0.5917 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.4676, allocations: 46.55 kB / 0.5917 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.4677, allocations: 4 kB / 0.5917 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4677, allocations: 0.875 kB / 0.5917 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4677, allocations: 7.891 kB / 0.5917 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.014e-05/0.4678, allocations: 134.1 kB / 0.5919 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.4678, allocations: 0 / 0.5919 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.041e-05/0.4678, allocations: 7.984 kB / 0.5919 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4678, allocations: 0.6562 kB / 0.5919 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.4679, allocations: 0 / 0.5919 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.4679, allocations: 1.156 kB / 0.5919 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4679, allocations: 0 / 0.5919 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000107/0.468, allocations: 73.97 kB / 0.592 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.468, allocations: 81.8 kB / 0.592 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.468, allocations: 0 / 0.592 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.496e-05/0.4681, allocations: 4.625 kB / 0.592 GB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.4681, allocations: 8.891 kB / 0.592 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.4681, allocations: 0 / 0.592 GB, free: 5.988 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.93e-05/0.4682, allocations: 83.66 kB / 0.5921 GB, free: 5.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002001/0.4684, allocations: 4.75 kB / 0.5921 GB, free: 5.906 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0001433/0.4685, allocations: 107.5 kB / 0.5922 GB, free: 5.793 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.374e-05/0.4686, allocations: 12 kB / 0.5922 GB, free: 5.781 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4686, allocations: 0 / 0.5922 GB, free: 5.781 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.021e-05/0.4686, allocations: 15.92 kB / 0.5923 GB, free: 5.766 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.426e-05/0.4687, allocations: 3.938 kB / 0.5923 GB, free: 5.762 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.469, allocations: 56.06 kB / 0.5923 GB, free: 5.684 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.4693, allocations: 0.6837 MB / 0.593 GB, free: 4.977 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4693, allocations: 4 kB / 0.593 GB, free: 4.973 MB / 410.7 MB Notification: Performance of Templates: time 0.002145/0.4714, allocations: 420.8 kB / 0.5934 GB, free: 4.594 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)