Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.8019/0.8019, allocations: 141.8 MB / 149.1 MB, free: 1.754 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 185.3 kB / 182 MB, free: 1.227 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 221.3 MB / 436 MB, free: 5.961 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009316/0.0009317, allocations: 96.2 kB / 0.507 GB, free: 2.637 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 270.9 kB / 0.5884 GB, free: 47.69 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.285e-05/1.3e-05, allocations: 3.688 kB / 0.6759 GB, free: 59.83 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1748, allocations: 82.78 MB / 0.7567 GB, free: 1.141 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.3322, allocations: 108.6 MB / 0.8628 GB, free: 4.398 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.3324, allocations: 75.95 kB / 0.8628 GB, free: 4.324 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.01331/0.3458, allocations: 3.868 MB / 0.8666 GB, free: 464 kB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.3458, allocations: 0 / 0.8666 GB, free: 464 kB / 0.5419 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.0005046/0.3463, allocations: 374.3 kB / 0.867 GB, free: 44 kB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.3464, allocations: 12.03 kB / 0.867 GB, free: 32 kB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2508/0.5972, allocations: 58.36 kB / 0.867 GB, free: 168.6 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.5974, allocations: 175.1 kB / 0.8672 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.5974, allocations: 0 / 0.8672 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.5975, allocations: 3.938 kB / 0.8672 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.822e-05/0.5976, allocations: 29.25 kB / 0.8672 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.5977, allocations: 47.38 kB / 0.8673 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.5977, allocations: 0 / 0.8673 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.5977, allocations: 1.719 kB / 0.8673 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.5977, allocations: 0 / 0.8673 GB, free: 168.3 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.5979, allocations: 150.1 kB / 0.8674 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.902e-05/0.598, allocations: 46.39 kB / 0.8675 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.598, allocations: 18.52 kB / 0.8675 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.598, allocations: 2.656 kB / 0.8675 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.5981, allocations: 34.22 kB / 0.8675 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.5981, allocations: 3.219 kB / 0.8675 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9): time 0.00276/0.6008, allocations: 0.4905 MB / 0.868 GB, free: 168.1 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.6009, allocations: 58.69 kB / 0.8681 GB, free: 168 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.601, allocations: 103.4 kB / 0.8682 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.601, allocations: 29.55 kB / 0.8682 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 1.39e-05/0.601, allocations: 80.14 kB / 0.8683 GB, free: 167.8 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.601, allocations: 30.27 kB / 0.8683 GB, free: 167.8 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/0.6011, allocations: 0 / 0.8683 GB, free: 167.8 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.6011, allocations: 321.2 kB / 0.8686 GB, free: 167.5 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.275e-05/0.6012, allocations: 36.42 kB / 0.8686 GB, free: 167.5 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.6013, allocations: 38.97 kB / 0.8687 GB, free: 167.5 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.6015, allocations: 57.97 kB / 0.8687 GB, free: 167.5 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6015, allocations: 0 / 0.8687 GB, free: 167.5 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003249/0.6018, allocations: 147.8 kB / 0.8689 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6018, allocations: 8.156 kB / 0.8689 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6018, allocations: 3.719 kB / 0.8689 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6018, allocations: 1.781 kB / 0.8689 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.6023, allocations: 72.36 kB / 0.869 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.6023, allocations: 10.5 kB / 0.869 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.6026, allocations: 48.44 kB / 0.869 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.6026, allocations: 7.766 kB / 0.869 GB, free: 167.4 MB / 0.5419 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 7.43e-05/0.6027, allocations: 112.1 kB / 0.8691 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.6027, allocations: 7.281 kB / 0.8691 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.6028, allocations: 7.625 kB / 0.8691 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.6028, allocations: 0 / 0.8691 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6028, allocations: 1.875 kB / 0.8691 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6028, allocations: 0 / 0.8691 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.604, allocations: 0.5269 MB / 0.8697 GB, free: 167 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.604, allocations: 0 / 0.8697 GB, free: 167 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.6043, allocations: 73.94 kB / 0.8697 GB, free: 167 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.6044, allocations: 2.719 kB / 0.8697 GB, free: 167 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.6044, allocations: 6.672 kB / 0.8697 GB, free: 167 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6044, allocations: 4.656 kB / 0.8697 GB, free: 167 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6044, allocations: 0 / 0.8697 GB, free: 167 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003242/0.6047, allocations: 270.9 kB / 0.87 GB, free: 166.8 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.6048, allocations: 84.56 kB / 0.8701 GB, free: 166.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.6048, allocations: 6.281 kB / 0.8701 GB, free: 166.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.6051, allocations: 51.36 kB / 0.8701 GB, free: 166.7 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.6052, allocations: 9.906 kB / 0.8701 GB, free: 166.7 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.6052, allocations: 7.547 kB / 0.8702 GB, free: 166.7 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.206e-05/0.6053, allocations: 90.69 kB / 0.8702 GB, free: 166.7 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002895/0.6055, allocations: 37.77 kB / 0.8703 GB, free: 166.7 MB / 0.5419 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.0001994/0.6058, allocations: 123.8 kB / 0.8704 GB, free: 166.6 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.606, allocations: 86.27 kB / 0.8705 GB, free: 166.6 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.606, allocations: 4.094 kB / 0.8705 GB, free: 166.6 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.6061, allocations: 42.47 kB / 0.8705 GB, free: 166.6 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.6063, allocations: 5.844 kB / 0.8705 GB, free: 166.6 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.6079, allocations: 386.4 kB / 0.8709 GB, free: 166.5 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.6082, allocations: 0.7194 MB / 0.8716 GB, free: 165.8 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.6082, allocations: 1.125 kB / 0.8716 GB, free: 165.8 MB / 0.5419 GB Notification: Performance of Templates: time 0.005185/0.6134, allocations: 1.844 MB / 0.8734 GB, free: 165.8 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)