Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7452/0.7452, allocations: 141.8 MB / 149.1 MB, free: 4.473 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.001114/0.001114, allocations: 183.6 kB / 181.9 MB, free: 156 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 221.3 MB / 436 MB, free: 9.293 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.0009231/0.0009232, allocations: 93.91 kB / 0.507 GB, free: 24.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.001791, allocations: 284.8 kB / 0.5884 GB, free: 12.31 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.626e-06, allocations: 4 kB / 0.6759 GB, free: 2.664 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4431, allocations: 82.77 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.5683, allocations: 109.4 MB / 0.8635 GB, free: 3.387 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.5686, allocations: 86.28 kB / 0.8636 GB, free: 3.309 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.0164/0.585, allocations: 5.18 MB / 0.8687 GB, free: 14.17 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.5851, allocations: 4 kB / 0.8687 GB, free: 14.16 MB / 0.5419 GB 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.0005755/0.5856, allocations: 394.2 kB / 0.8691 GB, free: 13.73 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.5857, allocations: 8.031 kB / 0.8691 GB, free: 13.73 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000409/0.5861, allocations: 75.83 kB / 0.8691 GB, free: 13.65 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.5863, allocations: 174.9 kB / 0.8693 GB, free: 13.44 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.5863, allocations: 8 kB / 0.8693 GB, free: 13.43 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.5864, allocations: 4 kB / 0.8693 GB, free: 13.43 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001624/0.5865, allocations: 35.92 kB / 0.8693 GB, free: 13.39 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.5867, allocations: 73.28 kB / 0.8694 GB, free: 13.32 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.5867, allocations: 4 kB / 0.8694 GB, free: 13.32 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.5867, allocations: 2.625 kB / 0.8694 GB, free: 13.32 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.5868, allocations: 3.906 kB / 0.8694 GB, free: 13.31 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/0.5874, allocations: 301.2 kB / 0.8697 GB, free: 12.98 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.5876, allocations: 61.64 kB / 0.8698 GB, free: 12.91 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.5876, allocations: 20.86 kB / 0.8698 GB, free: 12.89 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.5876, allocations: 0 / 0.8698 GB, free: 12.89 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.5877, allocations: 34.47 kB / 0.8698 GB, free: 12.85 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.5877, allocations: 0 / 0.8698 GB, free: 12.85 MB / 0.5419 GB Notification: Performance of matching and sorting (n=11): time 0.01503/0.6027, allocations: 2.183 MB / 0.872 GB, free: 10.57 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.6028, allocations: 55.34 kB / 0.872 GB, free: 10.5 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.815e-05/0.6029, allocations: 92.98 kB / 0.8721 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.603, allocations: 25.7 kB / 0.8721 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.603, allocations: 96.05 kB / 0.8722 GB, free: 10.28 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/0.6031, allocations: 35.45 kB / 0.8722 GB, free: 10.24 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.6031, allocations: 0 / 0.8722 GB, free: 10.24 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.6033, allocations: 310.8 kB / 0.8725 GB, free: 9.93 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.6035, allocations: 115.9 kB / 0.8727 GB, free: 9.816 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.6037, allocations: 111.9 kB / 0.8728 GB, free: 9.707 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.6041, allocations: 132 kB / 0.8729 GB, free: 9.578 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6041, allocations: 0 / 0.8729 GB, free: 9.578 MB / 0.5419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008286/0.605, allocations: 341.3 kB / 0.8732 GB, free: 9.238 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.605, allocations: 4 kB / 0.8732 GB, free: 9.234 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.605, allocations: 0 / 0.8732 GB, free: 9.234 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.605, allocations: 0 / 0.8732 GB, free: 9.234 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009488/0.606, allocations: 130.9 kB / 0.8733 GB, free: 9.109 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.606, allocations: 7.984 kB / 0.8734 GB, free: 9.102 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000702/0.6067, allocations: 63.84 kB / 0.8734 GB, free: 9.039 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.6068, allocations: 23.94 kB / 0.8734 GB, free: 9.016 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 (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.0001507/0.6069, allocations: 101 kB / 0.8735 GB, free: 8.91 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.023e-05/0.607, allocations: 7.906 kB / 0.8735 GB, free: 8.902 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.6071, allocations: 8.062 kB / 0.8735 GB, free: 8.895 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6071, allocations: 4.188 kB / 0.8735 GB, free: 8.891 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6071, allocations: 0 / 0.8735 GB, free: 8.891 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.6071, allocations: 7.969 kB / 0.8736 GB, free: 8.883 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.6086, allocations: 0.8892 MB / 0.8744 GB, free: 7.895 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6086, allocations: 0 / 0.8744 GB, free: 7.895 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009424/0.6096, allocations: 119.8 kB / 0.8745 GB, free: 7.777 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.6096, allocations: 8 kB / 0.8745 GB, free: 7.77 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.416e-05/0.6097, allocations: 23.92 kB / 0.8746 GB, free: 7.746 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.6097, allocations: 0 / 0.8746 GB, free: 7.746 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6097, allocations: 0 / 0.8746 GB, free: 7.746 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001247/0.611, allocations: 0.5783 MB / 0.8751 GB, free: 7.152 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.6111, allocations: 120.9 kB / 0.8753 GB, free: 7.016 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.765e-05/0.6112, allocations: 0 / 0.8753 GB, free: 7.016 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.612, allocations: 68 kB / 0.8753 GB, free: 6.949 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.846e-05/0.6121, allocations: 23.92 kB / 0.8753 GB, free: 6.926 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-05/0.6122, allocations: 23.94 kB / 0.8754 GB, free: 6.902 MB / 0.5419 GB Notification: Performance of sort global known variables: time 9.352e-05/0.6123, allocations: 83.28 kB / 0.8754 GB, free: 6.82 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0004199/0.6127, allocations: 63.83 kB / 0.8755 GB, free: 6.758 MB / 0.5419 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.0002722/0.613, allocations: 111.2 kB / 0.8756 GB, free: 6.641 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0006099/0.6136, allocations: 263.7 kB / 0.8759 GB, free: 6.383 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6136, allocations: 0 / 0.8759 GB, free: 6.383 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.6139, allocations: 144.5 kB / 0.876 GB, free: 6.242 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.6142, allocations: 8.781 kB / 0.876 GB, free: 6.234 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004456/0.6186, allocations: 0.8038 MB / 0.8768 GB, free: 5.402 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007316/0.6194, allocations: 0.8136 MB / 0.8776 GB, free: 4.562 MB / 0.5419 GB Notification: Performance of SimCode: time 8.72e-07/0.6194, allocations: 0 / 0.8776 GB, free: 4.562 MB / 0.5419 GB Notification: Performance of Templates: time 0.0104/0.6298, allocations: 5.782 MB / 0.8832 GB, free: 14.81 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)