Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [: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.7758/0.7758, 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.001155/0.001155, allocations: 169.1 kB / 171.6 MB, free: 2.016 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.457/1.457, allocations: 170.5 MB / 373.9 MB, free: 15.85 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.001887/0.001888, allocations: 110.5 kB / 444.4 MB, free: 9.391 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.501/0.501, allocations: 73.4 MB / 0.666 GB, free: 62.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.634, allocations: 100.1 MB / 0.7637 GB, free: 4.246 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.6343, allocations: 73.31 kB / 0.7638 GB, free: 4.176 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.001257/0.6356, allocations: 247.5 kB / 0.764 GB, free: 3.945 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.6356, allocations: 0 / 0.764 GB, free: 3.945 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002927/0.6359, allocations: 345.9 kB / 0.7644 GB, free: 3.559 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.6359, allocations: 9.375 kB / 0.7644 GB, free: 3.551 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.636, allocations: 2.031 kB / 0.7644 GB, free: 3.551 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.6361, allocations: 174.9 kB / 0.7645 GB, free: 3.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.6361, allocations: 2.062 kB / 0.7645 GB, free: 3.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.6361, allocations: 1.156 kB / 0.7645 GB, free: 3.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.329e-05/0.6362, allocations: 23.98 kB / 0.7646 GB, free: 3.316 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/0.6363, allocations: 50.66 kB / 0.7646 GB, free: 3.262 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.6363, allocations: 0 / 0.7646 GB, free: 3.262 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.6364, allocations: 0 / 0.7646 GB, free: 3.262 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.6364, allocations: 7.531 kB / 0.7646 GB, free: 3.258 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.6367, allocations: 252.2 kB / 0.7649 GB, free: 2.977 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.444e-05/0.6368, allocations: 19.33 kB / 0.7649 GB, free: 2.949 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.6368, allocations: 8.922 kB / 0.7649 GB, free: 2.938 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.6368, allocations: 0 / 0.7649 GB, free: 2.938 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.6369, allocations: 31.78 kB / 0.7649 GB, free: 2.898 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 2.304e-06/0.6369, allocations: 0 / 0.7649 GB, free: 2.898 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.000172/0.637, allocations: 39.77 kB / 0.765 GB, free: 2.855 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.6371, allocations: 84.95 kB / 0.765 GB, free: 2.754 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.6372, allocations: 113.2 kB / 0.7652 GB, free: 2.641 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.6372, allocations: 28.86 kB / 0.7652 GB, free: 2.609 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.6373, allocations: 99.8 kB / 0.7653 GB, free: 2.508 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.453e-06/0.6373, allocations: 4 kB / 0.7653 GB, free: 2.504 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.6373, allocations: 0.7812 kB / 0.7653 GB, free: 2.504 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6374, allocations: 321.7 kB / 0.7656 GB, free: 2.184 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.6375, allocations: 8.531 kB / 0.7656 GB, free: 2.176 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.337e-05/0.6375, allocations: 61.62 kB / 0.7657 GB, free: 2.094 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.994e-05/0.6376, allocations: 23.98 kB / 0.7657 GB, free: 2.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6376, allocations: 0 / 0.7657 GB, free: 2.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001374/0.6377, allocations: 77.5 kB / 0.7657 GB, free: 1.988 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.6378, allocations: 11.98 kB / 0.7658 GB, free: 1.977 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.6378, allocations: 0 / 0.7658 GB, free: 1.977 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.6378, allocations: 4 kB / 0.7658 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.6379, allocations: 8.25 kB / 0.7658 GB, free: 1.965 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.6379, allocations: 8 kB / 0.7658 GB, free: 1.957 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.763e-05/0.6379, allocations: 11.84 kB / 0.7658 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.638, allocations: 4 kB / 0.7658 GB, free: 1.941 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001012/0.6381, allocations: 143.5 kB / 0.7659 GB, free: 1.789 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.6381, allocations: 7.906 kB / 0.7659 GB, free: 1.781 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.564e-05/0.6381, allocations: 5.25 kB / 0.7659 GB, free: 1.781 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.6381, allocations: 2.062 kB / 0.7659 GB, free: 1.781 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6381, allocations: 0 / 0.7659 GB, free: 1.781 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6382, allocations: 0 / 0.7659 GB, free: 1.781 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.6383, allocations: 138.1 kB / 0.7661 GB, free: 1.609 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6383, allocations: 0 / 0.7661 GB, free: 1.609 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.6383, allocations: 0 / 0.7661 GB, free: 1.609 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.6383, allocations: 4 kB / 0.7661 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.6383, allocations: 0 / 0.7661 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6383, allocations: 0 / 0.7661 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.6383, allocations: 0 / 0.7661 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001297/0.6385, allocations: 143.5 kB / 0.7662 GB, free: 1.449 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.871e-05/0.6385, allocations: 81.05 kB / 0.7663 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.6386, allocations: 1.875 kB / 0.7663 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.034e-05/0.6386, allocations: 3.938 kB / 0.7663 GB, free: 1.348 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.6387, allocations: 7.906 kB / 0.7663 GB, free: 1.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.6387, allocations: 0 / 0.7663 GB, free: 1.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.498e-05/0.6387, allocations: 91.34 kB / 0.7664 GB, free: 1.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000257/0.639, allocations: 8 kB / 0.7664 GB, free: 1.242 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001676/0.6392, allocations: 115.3 kB / 0.7665 GB, free: 1.117 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.6393, allocations: 53.62 kB / 0.7666 GB, free: 1.059 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.6393, allocations: 0 / 0.7666 GB, free: 1.059 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.582e-05/0.6394, allocations: 29.7 kB / 0.7666 GB, free: 1.023 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.6395, allocations: 2.156 kB / 0.7666 GB, free: 1.023 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/0.6397, allocations: 63.92 kB / 0.7667 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/0.64, allocations: 0.688 MB / 0.7673 GB, free: 228 kB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.64, allocations: 0.5625 kB / 0.7673 GB, free: 228 kB / 474.7 MB Notification: Performance of Templates: time 0.002497/0.6426, allocations: 0.5003 MB / 0.7678 GB, free: 15.75 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)