Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.7061/0.7061, allocations: 132.4 MB / 139.7 MB, free: 15.52 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001274/0.001274, allocations: 166.8 kB / 171.6 MB, free: 2.027 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.307/1.307, allocations: 170.5 MB / 373.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00181/0.00181, allocations: 104.7 kB / 444.4 MB, free: 9.352 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.3746/0.3747, allocations: 73.39 MB / 0.666 GB, free: 62.39 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.4904, allocations: 101.3 MB / 0.7649 GB, free: 2.961 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.4907, allocations: 80.44 kB / 0.765 GB, free: 2.883 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01116/0.5019, allocations: 3.222 MB / 0.7682 GB, free: 15.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.5019, allocations: 4 kB / 0.7682 GB, free: 15.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00036/0.5023, allocations: 350 kB / 0.7685 GB, free: 15.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.5023, allocations: 8.031 kB / 0.7685 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004614/0.5028, allocations: 77.94 kB / 0.7686 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.5029, allocations: 170.9 kB / 0.7687 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.503, allocations: 0 / 0.7687 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.503, allocations: 3.938 kB / 0.7687 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.975e-05/0.5031, allocations: 16 kB / 0.7688 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.682e-05/0.5032, allocations: 45.67 kB / 0.7688 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5032, allocations: 0 / 0.7688 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.5032, allocations: 0 / 0.7688 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5032, allocations: 0 / 0.7688 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.5034, allocations: 155.7 kB / 0.7689 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.5036, allocations: 29.72 kB / 0.769 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.5036, allocations: 26.53 kB / 0.769 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.5037, allocations: 0 / 0.769 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.5037, allocations: 34.5 kB / 0.769 GB, free: 14.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.5037, allocations: 0 / 0.769 GB, free: 14.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.002124/0.5058, allocations: 0.6351 MB / 0.7697 GB, free: 13.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.5059, allocations: 51.41 kB / 0.7697 GB, free: 13.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.992e-05/0.5059, allocations: 89 kB / 0.7698 GB, free: 13.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.506, allocations: 29.81 kB / 0.7698 GB, free: 13.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.506, allocations: 84.14 kB / 0.7699 GB, free: 13.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.506, allocations: 19.66 kB / 0.7699 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.506, allocations: 4 kB / 0.7699 GB, free: 13.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.5061, allocations: 310.8 kB / 0.7702 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.984e-05/0.5062, allocations: 25.77 kB / 0.7702 GB, free: 13.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.244e-05/0.5062, allocations: 15.94 kB / 0.7703 GB, free: 13.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.479e-05/0.5063, allocations: 19.98 kB / 0.7703 GB, free: 13.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.5063, allocations: 0 / 0.7703 GB, free: 13.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001762/0.5065, allocations: 83.06 kB / 0.7704 GB, free: 13.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.5065, allocations: 8 kB / 0.7704 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5065, allocations: 0 / 0.7704 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.5066, allocations: 0 / 0.7704 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.5068, allocations: 47.91 kB / 0.7704 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5069, allocations: 3.984 kB / 0.7704 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.507, allocations: 31.98 kB / 0.7704 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.5071, allocations: 13.3 kB / 0.7705 GB, free: 13.13 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 (7): * Single equations (assignments): 7 * 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 8.241e-05/0.5072, allocations: 105.8 kB / 0.7706 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.5072, allocations: 0.9844 kB / 0.7706 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.5072, allocations: 8.062 kB / 0.7706 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.5072, allocations: 4 kB / 0.7706 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5072, allocations: 0 / 0.7706 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5072, allocations: 0 / 0.7706 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.5074, allocations: 154.1 kB / 0.7707 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5074, allocations: 6.062 kB / 0.7707 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.5077, allocations: 47.95 kB / 0.7708 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5077, allocations: 0 / 0.7708 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.5077, allocations: 3.984 kB / 0.7708 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.233e-05/0.5078, allocations: 4.688 kB / 0.7708 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5078, allocations: 0 / 0.7708 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002992/0.5081, allocations: 138.5 kB / 0.7709 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.5082, allocations: 83.95 kB / 0.771 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.5082, allocations: 7.906 kB / 0.771 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.5084, allocations: 32.03 kB / 0.771 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.5085, allocations: 7.984 kB / 0.771 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.5085, allocations: 4 kB / 0.771 GB, free: 12.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.043e-05/0.5085, allocations: 79.34 kB / 0.7711 GB, free: 12.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.5088, allocations: 47.92 kB / 0.7712 GB, free: 12.34 MB / 490.7 MB 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.0002365/0.509, allocations: 144.8 kB / 0.7713 GB, free: 12.19 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.5092, allocations: 51.92 kB / 0.7713 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5092, allocations: 3.938 kB / 0.7713 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.56e-05/0.5092, allocations: 20 kB / 0.7714 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.5094, allocations: 4 kB / 0.7714 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007987/0.5102, allocations: 213.1 kB / 0.7716 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.5105, allocations: 0.7036 MB / 0.7723 GB, free: 11.15 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5105, allocations: 7.938 kB / 0.7723 GB, free: 11.14 MB / 490.7 MB Notification: Performance of Templates: time 0.003754/0.5143, allocations: 1.493 MB / 0.7737 GB, free: 9.691 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)