Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [: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.6904/0.6904, allocations: 127.4 MB / 134.6 MB, free: 4.059 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.001082/0.001082, allocations: 185.2 kB / 164.4 MB, free: 6.852 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.616/1.616, allocations: 205.1 MB / 399.1 MB, free: 6.035 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.0011/0.0011, allocations: 98.53 kB / 476.3 MB, free: 8.785 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.189e-05/1.193e-05, allocations: 4 kB / 0.546 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2063, allocations: 76.75 MB / 0.6209 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5142/0.7206, allocations: 103.4 MB / 0.722 GB, free: 8.824 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/0.721, allocations: 79.95 kB / 0.722 GB, free: 8.746 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01886/0.7399, allocations: 5.468 MB / 0.7274 GB, free: 3.289 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.7399, allocations: 4 kB / 0.7274 GB, free: 3.285 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006332/0.7406, allocations: 386.3 kB / 0.7277 GB, free: 2.863 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.7406, allocations: 8.031 kB / 0.7278 GB, free: 2.855 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000442/0.7411, allocations: 75.83 kB / 0.7278 GB, free: 2.781 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.7413, allocations: 174.9 kB / 0.728 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.7413, allocations: 4 kB / 0.728 GB, free: 2.566 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.7414, allocations: 7.938 kB / 0.728 GB, free: 2.559 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001369/0.7415, allocations: 36 kB / 0.728 GB, free: 2.523 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.7417, allocations: 65.66 kB / 0.7281 GB, free: 2.453 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.7417, allocations: 7.984 kB / 0.7281 GB, free: 2.445 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.7417, allocations: 0 / 0.7281 GB, free: 2.445 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.7417, allocations: 0 / 0.7281 GB, free: 2.445 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006389/0.7424, allocations: 313.1 kB / 0.7284 GB, free: 2.102 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.7425, allocations: 46.73 kB / 0.7285 GB, free: 2.051 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.7425, allocations: 24.86 kB / 0.7285 GB, free: 2.023 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.7426, allocations: 0 / 0.7285 GB, free: 2.023 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.7426, allocations: 30.56 kB / 0.7285 GB, free: 1.984 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.7426, allocations: 7.938 kB / 0.7285 GB, free: 1.977 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.01519/0.7578, allocations: 2.176 MB / 0.7306 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.7579, allocations: 55.41 kB / 0.7307 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.789e-05/0.758, allocations: 93.09 kB / 0.7308 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.7581, allocations: 29.64 kB / 0.7308 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.7582, allocations: 95.97 kB / 0.7309 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.7583, allocations: 35.45 kB / 0.7309 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.7584, allocations: 0 / 0.7309 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.7586, allocations: 314.8 kB / 0.7312 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.7588, allocations: 115.9 kB / 0.7313 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.7591, allocations: 116.1 kB / 0.7315 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.7595, allocations: 131.9 kB / 0.7316 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7595, allocations: 0 / 0.7316 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008683/0.7604, allocations: 334.8 kB / 0.7319 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.7604, allocations: 4 kB / 0.7319 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.7604, allocations: 3.938 kB / 0.7319 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.7605, allocations: 0 / 0.7319 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009771/0.7615, allocations: 131.7 kB / 0.732 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.7615, allocations: 4 kB / 0.732 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000695/0.7622, allocations: 63.94 kB / 0.7321 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.7623, allocations: 23.92 kB / 0.7321 GB, free: 14.14 MB / 0.4948 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 (13): * Single equations (assignments): 13 * 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.000155/0.7624, allocations: 104.9 kB / 0.7322 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.07e-05/0.7625, allocations: 4 kB / 0.7322 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.7626, allocations: 11.97 kB / 0.7322 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.7626, allocations: 8 kB / 0.7322 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.7626, allocations: 4 kB / 0.7322 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.7626, allocations: 192 / 0.7322 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.7643, allocations: 0.881 MB / 0.7331 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7643, allocations: 3.938 kB / 0.7331 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.7653, allocations: 123.8 kB / 0.7332 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.7653, allocations: 3.984 kB / 0.7332 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.325e-05/0.7654, allocations: 27.92 kB / 0.7333 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.7654, allocations: 0 / 0.7333 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7654, allocations: 0 / 0.7333 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001331/0.7668, allocations: 0.5771 MB / 0.7338 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.7669, allocations: 120.9 kB / 0.7339 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/0.767, allocations: 0 / 0.7339 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007666/0.7678, allocations: 64 kB / 0.734 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.7679, allocations: 27.92 kB / 0.734 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.136e-05/0.768, allocations: 23.94 kB / 0.734 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.47e-05/0.7681, allocations: 79.28 kB / 0.7341 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004883/0.7686, allocations: 60.03 kB / 0.7342 GB, free: 11.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004115/0.769, allocations: 115.2 kB / 0.7343 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007377/0.7698, allocations: 263.7 kB / 0.7345 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7698, allocations: 4 kB / 0.7345 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.7702, allocations: 143.8 kB / 0.7347 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.7705, allocations: 18.47 kB / 0.7347 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004817/0.7753, allocations: 0.7986 MB / 0.7355 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.7765, allocations: 0.8165 MB / 0.7363 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of SimCode: time 7.72e-07/0.7765, allocations: 0 / 0.7363 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of Templates: time 0.01247/0.789, allocations: 5.791 MB / 0.7419 GB, free: 3.898 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)