Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.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.PolynomialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck") [: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.7266/0.7266, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001458/0.001458, allocations: 164.8 kB / 171.6 MB, free: 1.996 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.361/1.361, allocations: 170.5 MB / 373.9 MB, free: 15.91 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.001856/0.001856, allocations: 114.5 kB / 444.4 MB, free: 9.457 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.475/0.475, allocations: 73.4 MB / 0.666 GB, free: 62.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/0.61, allocations: 100.4 MB / 0.7641 GB, free: 3.863 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.6103, allocations: 78.16 kB / 0.7642 GB, free: 3.789 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.003611/0.6139, allocations: 0.8283 MB / 0.765 GB, free: 2.98 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.614, allocations: 1.062 kB / 0.765 GB, free: 2.98 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003053/0.6143, allocations: 322.4 kB / 0.7653 GB, free: 2.621 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.6143, allocations: 11.38 kB / 0.7653 GB, free: 2.613 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.6144, allocations: 2.375 kB / 0.7653 GB, free: 2.613 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.6145, allocations: 167.6 kB / 0.7654 GB, free: 2.414 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.6145, allocations: 3.984 kB / 0.7654 GB, free: 2.41 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.6146, allocations: 4 kB / 0.7654 GB, free: 2.406 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.218e-05/0.6146, allocations: 0 / 0.7654 GB, free: 2.406 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.38e-05/0.6147, allocations: 38.88 kB / 0.7655 GB, free: 2.363 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.6147, allocations: 0 / 0.7655 GB, free: 2.363 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.6148, allocations: 1.156 kB / 0.7655 GB, free: 2.363 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.6148, allocations: 4 kB / 0.7655 GB, free: 2.359 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.6149, allocations: 127.2 kB / 0.7656 GB, free: 2.199 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.625e-05/0.615, allocations: 25.48 kB / 0.7656 GB, free: 2.168 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.615, allocations: 11.02 kB / 0.7656 GB, free: 2.156 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.615, allocations: 0 / 0.7656 GB, free: 2.156 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.6151, allocations: 34.56 kB / 0.7657 GB, free: 2.113 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/0.6151, allocations: 0.7812 kB / 0.7657 GB, free: 2.113 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0007483/0.6158, allocations: 248.9 kB / 0.7659 GB, free: 1.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.6159, allocations: 51.41 kB / 0.766 GB, free: 1.758 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.312e-05/0.6159, allocations: 85.69 kB / 0.766 GB, free: 1.668 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.616, allocations: 26.42 kB / 0.7661 GB, free: 1.637 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.616, allocations: 84.14 kB / 0.7662 GB, free: 1.551 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.6161, allocations: 12.75 kB / 0.7662 GB, free: 1.539 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.6161, allocations: 0 / 0.7662 GB, free: 1.539 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.6162, allocations: 322.9 kB / 0.7665 GB, free: 1.215 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.6162, allocations: 4 kB / 0.7665 GB, free: 1.211 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.843e-05/0.6163, allocations: 17.72 kB / 0.7665 GB, free: 1.188 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.503e-05/0.6163, allocations: 4 kB / 0.7665 GB, free: 1.184 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.6164, allocations: 0 / 0.7665 GB, free: 1.184 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001275/0.6165, allocations: 53.62 kB / 0.7666 GB, free: 1.125 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.6165, allocations: 6.438 kB / 0.7666 GB, free: 1.121 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6165, allocations: 8.062 kB / 0.7666 GB, free: 1.113 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.6166, allocations: 0 / 0.7666 GB, free: 1.113 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.6166, allocations: 7.984 kB / 0.7666 GB, free: 1.105 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6166, allocations: 4 kB / 0.7666 GB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.6167, allocations: 0 / 0.7666 GB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.6167, allocations: 11.84 kB / 0.7666 GB, free: 1.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001385/0.6169, allocations: 101.9 kB / 0.7667 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.6169, allocations: 0 / 0.7667 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.6171, allocations: 73.83 kB / 0.7668 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.6171, allocations: 0 / 0.7668 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6171, allocations: 0 / 0.7668 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.6172, allocations: 3.906 kB / 0.7668 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.6173, allocations: 134.2 kB / 0.7669 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6173, allocations: 0.9375 kB / 0.7669 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.6173, allocations: 4 kB / 0.7669 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.6173, allocations: 0 / 0.7669 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.6174, allocations: 4 kB / 0.7669 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6174, allocations: 0 / 0.7669 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6174, allocations: 4 kB / 0.7669 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001658/0.6175, allocations: 77.02 kB / 0.767 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.6176, allocations: 77.73 kB / 0.767 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.6176, allocations: 0 / 0.767 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.487e-05/0.6177, allocations: 4 kB / 0.7671 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.6177, allocations: 0 / 0.7671 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.6177, allocations: 5.312 kB / 0.7671 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.63e-05/0.6177, allocations: 80.31 kB / 0.7671 GB, free: 464 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002125/0.618, allocations: 23.94 kB / 0.7672 GB, free: 440 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001942/0.6182, allocations: 123.2 kB / 0.7673 GB, free: 308 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.318e-05/0.6182, allocations: 11.98 kB / 0.7673 GB, free: 296 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6182, allocations: 0 / 0.7673 GB, free: 296 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.6183, allocations: 8 kB / 0.7673 GB, free: 288 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001053/0.6184, allocations: 0 / 0.7673 GB, free: 288 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000234/0.6186, allocations: 74.16 kB / 0.7674 GB, free: 192 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.619, allocations: 0.6884 MB / 0.768 GB, free: 15.48 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.619, allocations: 3.938 kB / 0.768 GB, free: 15.47 MB / 490.7 MB Notification: Performance of Templates: time 0.002749/0.6217, allocations: 0.5849 MB / 0.7686 GB, free: 14.91 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.PolynomialDerivativeCheck.pipe 2>&1)