Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [: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 8.1.4-maint.8.1.x/package.mo): time 1.5/1.5, allocations: 289.8 MB / 297.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001241, allocations: 185.3 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.149/1.149, allocations: 205.1 MB / 0.6256 GB, free: 5.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008633/0.0008634, allocations: 95.7 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.087e-06/9.117e-06, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4504, allocations: 116.3 MB / 0.9726 GB, free: 68.46 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.5952, allocations: 138.9 MB / 1.108 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.5955, allocations: 76.61 kB / 1.108 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01194/0.6074, allocations: 3.748 MB / 1.112 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.6074, allocations: 0 / 1.112 GB, free: 5.754 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003167/0.6078, allocations: 362.3 kB / 1.112 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.6078, allocations: 11.97 kB / 1.112 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003801/0.6082, allocations: 75.83 kB / 1.112 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.6083, allocations: 167 kB / 1.113 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.6083, allocations: 0 / 1.113 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.6084, allocations: 0 / 1.113 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.68e-05/0.6084, allocations: 19.98 kB / 1.113 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.381e-05/0.6085, allocations: 53.67 kB / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.6085, allocations: 1.688 kB / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.6086, allocations: 7.891 kB / 1.113 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.6086, allocations: 0 / 1.113 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.6087, allocations: 138.2 kB / 1.113 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.609, allocations: 54.61 kB / 1.113 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.609, allocations: 20.86 kB / 1.113 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.615e-05/0.6091, allocations: 85.11 kB / 1.113 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.6091, allocations: 34.64 kB / 1.113 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.655e-06/0.6091, allocations: 3.984 kB / 1.113 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.001222/0.6104, allocations: 450 kB / 1.113 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.6104, allocations: 51.41 kB / 1.113 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.6105, allocations: 89 kB / 1.114 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.6105, allocations: 25.7 kB / 1.114 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.236e-05/0.6105, allocations: 80.14 kB / 1.114 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.6106, allocations: 23.66 kB / 1.114 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.6106, allocations: 0 / 1.114 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.6107, allocations: 319 kB / 1.114 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/0.6107, allocations: 12 kB / 1.114 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.6107, allocations: 12.66 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.611, allocations: 63.91 kB / 1.114 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.611, allocations: 4 kB / 1.114 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003574/0.6114, allocations: 125.5 kB / 1.114 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.6114, allocations: 11.92 kB / 1.114 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.6114, allocations: 0 / 1.114 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.6114, allocations: 0 / 1.114 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.6116, allocations: 28.83 kB / 1.114 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.6116, allocations: 0 / 1.114 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.6117, allocations: 23.92 kB / 1.114 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.6117, allocations: 4 kB / 1.114 GB, free: 3.184 MB / 0.7136 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 (6): * Single equations (assignments): 6 * 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 6.122e-05/0.6118, allocations: 105 kB / 1.114 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.6118, allocations: 3.906 kB / 1.114 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.6123, allocations: 150.8 kB / 1.114 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.6123, allocations: 4 kB / 1.114 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.6123, allocations: 3.938 kB / 1.114 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6123, allocations: 0 / 1.114 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.6125, allocations: 142.2 kB / 1.115 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6125, allocations: 0 / 1.115 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.6126, allocations: 33.11 kB / 1.115 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6126, allocations: 0 / 1.115 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.6127, allocations: 0 / 1.115 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6127, allocations: 7.281 kB / 1.115 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6127, allocations: 3.984 kB / 1.115 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004298/0.6131, allocations: 168.9 kB / 1.115 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.6132, allocations: 81.09 kB / 1.115 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.6132, allocations: 0 / 1.115 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.6133, allocations: 20.05 kB / 1.115 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.6134, allocations: 12.05 kB / 1.115 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.6134, allocations: 4 kB / 1.115 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.491e-05/0.6134, allocations: 79.19 kB / 1.115 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002201/0.6137, allocations: 47.95 kB / 1.115 GB, free: 2.25 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001848/0.6138, allocations: 140.3 kB / 1.115 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.614, allocations: 32 kB / 1.115 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.614, allocations: 0 / 1.115 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.614, allocations: 27.92 kB / 1.115 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.606e-05/0.6141, allocations: 0.5156 kB / 1.115 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.6146, allocations: 136.2 kB / 1.115 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.6149, allocations: 0.7036 MB / 1.116 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.6149, allocations: 0 / 1.116 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of Templates: time 0.002986/0.6179, allocations: 1.309 MB / 1.117 GB, free: 15.87 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)