Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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/BuildSysPro 3.5.0/package.mo): time 0.7416/0.7416, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 181.2 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.1 MB / 399.1 MB, free: 6.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 79.34 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.724e-06/7.734e-06, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1987, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5597/0.7585, allocations: 103 MB / 0.7215 GB, free: 9.348 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.7588, allocations: 75.95 kB / 0.7216 GB, free: 9.273 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01258/0.7714, allocations: 3.656 MB / 0.7252 GB, free: 5.629 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.7714, allocations: 0 / 0.7252 GB, free: 5.629 MB / 490.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.0004808/0.7719, allocations: 382.3 kB / 0.7256 GB, free: 5.211 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.7719, allocations: 12.03 kB / 0.7256 GB, free: 5.199 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004254/0.7724, allocations: 67.92 kB / 0.7256 GB, free: 5.133 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.7726, allocations: 170.9 kB / 0.7258 GB, free: 4.926 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.7726, allocations: 3.984 kB / 0.7258 GB, free: 4.922 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.7726, allocations: 11.94 kB / 0.7258 GB, free: 4.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.974e-05/0.7727, allocations: 20 kB / 0.7258 GB, free: 4.891 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.857e-05/0.7728, allocations: 49.67 kB / 0.7259 GB, free: 4.836 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.7729, allocations: 0 / 0.7259 GB, free: 4.836 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7729, allocations: 0 / 0.7259 GB, free: 4.836 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.7729, allocations: 0 / 0.7259 GB, free: 4.836 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.7734, allocations: 273.3 kB / 0.7261 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.32e-05/0.7735, allocations: 38.56 kB / 0.7262 GB, free: 4.484 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.7736, allocations: 16.92 kB / 0.7262 GB, free: 4.465 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.7736, allocations: 0.75 kB / 0.7262 GB, free: 4.465 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.7736, allocations: 35.44 kB / 0.7262 GB, free: 4.422 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.7736, allocations: 0 / 0.7262 GB, free: 4.422 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000329/0.774, allocations: 77.56 kB / 0.7263 GB, free: 4.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.774, allocations: 55.41 kB / 0.7263 GB, free: 4.273 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.7741, allocations: 92.94 kB / 0.7264 GB, free: 4.176 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.7742, allocations: 25.7 kB / 0.7265 GB, free: 4.145 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.7742, allocations: 84.17 kB / 0.7265 GB, free: 4.059 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.7742, allocations: 11.84 kB / 0.7266 GB, free: 4.047 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.7742, allocations: 4 kB / 0.7266 GB, free: 4.043 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.7744, allocations: 314.8 kB / 0.7269 GB, free: 3.727 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.33e-05/0.7744, allocations: 8 kB / 0.7269 GB, free: 3.719 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/0.7745, allocations: 16 kB / 0.7269 GB, free: 3.703 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.7746, allocations: 23.97 kB / 0.7269 GB, free: 3.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.7746, allocations: 4.062 kB / 0.7269 GB, free: 3.676 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002179/0.7749, allocations: 77.56 kB / 0.727 GB, free: 3.594 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.7749, allocations: 4 kB / 0.727 GB, free: 3.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7749, allocations: 256 / 0.727 GB, free: 3.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.7749, allocations: 0 / 0.727 GB, free: 3.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.7751, allocations: 36 kB / 0.727 GB, free: 3.555 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.7751, allocations: 4 kB / 0.727 GB, free: 3.551 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.7753, allocations: 27.97 kB / 0.727 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.7753, allocations: 0 / 0.727 GB, free: 3.523 MB / 490.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 (2): * Single equations (assignments): 2 * 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 9.109e-05/0.7754, allocations: 112.8 kB / 0.7272 GB, free: 3.406 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.7754, allocations: 3.938 kB / 0.7272 GB, free: 3.402 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.7755, allocations: 3.312 kB / 0.7272 GB, free: 3.402 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.7755, allocations: 0 / 0.7272 GB, free: 3.402 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.7755, allocations: 4 kB / 0.7272 GB, free: 3.398 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.7755, allocations: 0 / 0.7272 GB, free: 3.398 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.7757, allocations: 154.1 kB / 0.7273 GB, free: 3.211 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7757, allocations: 0 / 0.7273 GB, free: 3.211 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.7759, allocations: 35.97 kB / 0.7273 GB, free: 3.176 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.7759, allocations: 0 / 0.7273 GB, free: 3.176 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.7759, allocations: 0 / 0.7273 GB, free: 3.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.7759, allocations: 0.7812 kB / 0.7273 GB, free: 3.176 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7759, allocations: 0 / 0.7273 GB, free: 3.176 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002689/0.7762, allocations: 175.4 kB / 0.7275 GB, free: 2.988 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.7762, allocations: 77.11 kB / 0.7276 GB, free: 2.895 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.7762, allocations: 0 / 0.7276 GB, free: 2.895 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.7764, allocations: 32 kB / 0.7276 GB, free: 2.863 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.7765, allocations: 7.891 kB / 0.7276 GB, free: 2.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.7765, allocations: 3.984 kB / 0.7276 GB, free: 2.852 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.74e-05/0.7765, allocations: 83.28 kB / 0.7277 GB, free: 2.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.7768, allocations: 23.88 kB / 0.7277 GB, free: 2.746 MB / 490.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 (2): * Single equations (assignments): 2 * 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.0001847/0.777, allocations: 103.2 kB / 0.7278 GB, free: 2.633 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.7771, allocations: 27.98 kB / 0.7279 GB, free: 2.605 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7771, allocations: 0 / 0.7279 GB, free: 2.605 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.7772, allocations: 20.06 kB / 0.7279 GB, free: 2.586 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.7774, allocations: 7.938 kB / 0.7279 GB, free: 2.578 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.7778, allocations: 108.8 kB / 0.728 GB, free: 2.449 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/0.7781, allocations: 0.7036 MB / 0.7287 GB, free: 1.715 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7782, allocations: 0 / 0.7287 GB, free: 1.715 MB / 490.7 MB Notification: Performance of Templates: time 0.003177/0.7813, allocations: 0.9504 MB / 0.7296 GB, free: 0.7734 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)