Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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/Buildings 3.0.0/package.mo): time 0.8378/0.8378, allocations: 132.4 MB / 139.7 MB, free: 15.57 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.001473/0.001473, allocations: 175.3 kB / 171.6 MB, free: 1.973 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.34/1.34, allocations: 170.5 MB / 373.8 MB, free: 15.83 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.001728/0.001728, allocations: 110.3 kB / 444.4 MB, free: 9.359 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.3852/0.3852, allocations: 73.39 MB / 0.666 GB, free: 62.65 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1212/0.5065, allocations: 101.4 MB / 0.7651 GB, free: 2.934 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.5067, allocations: 75.95 kB / 0.7651 GB, free: 2.859 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01252/0.5193, allocations: 3.716 MB / 0.7688 GB, free: 15.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.5193, allocations: 0 / 0.7688 GB, free: 15.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003795/0.5197, allocations: 366.2 kB / 0.7691 GB, free: 14.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5198, allocations: 8.031 kB / 0.7691 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004315/0.5202, allocations: 75.08 kB / 0.7692 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.5203, allocations: 167 kB / 0.7693 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.5204, allocations: 0.6875 kB / 0.7693 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.5204, allocations: 7.984 kB / 0.7693 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.793e-05/0.5205, allocations: 28 kB / 0.7694 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.5206, allocations: 49.67 kB / 0.7694 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.5206, allocations: 3.938 kB / 0.7694 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.5207, allocations: 3.984 kB / 0.7694 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.5207, allocations: 5.266 kB / 0.7694 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.5209, allocations: 138.9 kB / 0.7696 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.521, allocations: 45.7 kB / 0.7696 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.5211, allocations: 36.61 kB / 0.7696 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.5211, allocations: 0.8438 kB / 0.7696 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.5211, allocations: 36.12 kB / 0.7697 GB, free: 14.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.5211, allocations: 0 / 0.7697 GB, free: 14.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.007189/0.5283, allocations: 1.906 MB / 0.7715 GB, free: 12.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.5284, allocations: 55.41 kB / 0.7716 GB, free: 12.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.177e-05/0.5285, allocations: 89 kB / 0.7717 GB, free: 11.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.5285, allocations: 25.7 kB / 0.7717 GB, free: 11.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.5286, allocations: 80.14 kB / 0.7718 GB, free: 11.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.5286, allocations: 41.8 kB / 0.7718 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.534e-05/0.5286, allocations: 0 / 0.7718 GB, free: 11.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.5288, allocations: 318.8 kB / 0.7721 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.214e-05/0.5289, allocations: 35.98 kB / 0.7722 GB, free: 11.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.5289, allocations: 41.5 kB / 0.7722 GB, free: 11.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.902e-05/0.529, allocations: 31.98 kB / 0.7722 GB, free: 11.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5291, allocations: 0 / 0.7722 GB, free: 11.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002876/0.5293, allocations: 130.5 kB / 0.7724 GB, free: 11.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.5294, allocations: 4 kB / 0.7724 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5294, allocations: 0 / 0.7724 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.5294, allocations: 3.984 kB / 0.7724 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/0.5298, allocations: 83.84 kB / 0.7724 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5299, allocations: 0 / 0.7724 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.5301, allocations: 51.95 kB / 0.7725 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.5302, allocations: 7.938 kB / 0.7725 GB, free: 11.09 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 (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.000103/0.5303, allocations: 105.9 kB / 0.7726 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.5303, allocations: 11.89 kB / 0.7726 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.5304, allocations: 8.062 kB / 0.7726 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5304, allocations: 4 kB / 0.7726 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5304, allocations: 3.938 kB / 0.7726 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5304, allocations: 0 / 0.7726 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006731/0.5311, allocations: 390.5 kB / 0.773 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5311, allocations: 1.75 kB / 0.773 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004373/0.5315, allocations: 83.94 kB / 0.7731 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5316, allocations: 0 / 0.7731 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.5316, allocations: 10.89 kB / 0.7731 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5316, allocations: 0 / 0.7731 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5316, allocations: 3.938 kB / 0.7731 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004808/0.5321, allocations: 271.4 kB / 0.7734 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.573e-05/0.5322, allocations: 101 kB / 0.7735 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.5322, allocations: 0 / 0.7735 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.5326, allocations: 52 kB / 0.7735 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.5326, allocations: 11.98 kB / 0.7735 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.5327, allocations: 4 kB / 0.7735 GB, free: 9.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.913e-05/0.5327, allocations: 79.28 kB / 0.7736 GB, free: 9.902 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004229/0.5331, allocations: 123.8 kB / 0.7737 GB, free: 9.781 MB / 490.7 MB 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.0004354/0.5336, allocations: 191 kB / 0.7739 GB, free: 9.582 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.5338, allocations: 99.42 kB / 0.774 GB, free: 9.488 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5338, allocations: 0 / 0.774 GB, free: 9.488 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.534, allocations: 51.92 kB / 0.774 GB, free: 9.438 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.5341, allocations: 11.94 kB / 0.774 GB, free: 9.426 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.5362, allocations: 493.9 kB / 0.7745 GB, free: 8.922 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/0.5366, allocations: 0.727 MB / 0.7752 GB, free: 8.168 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5366, allocations: 0 / 0.7752 GB, free: 8.168 MB / 490.7 MB Notification: Performance of Templates: time 0.005766/0.5424, allocations: 3.036 MB / 0.7782 GB, free: 5.156 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)