Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.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.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") [: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.556/1.556, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001192/0.001192, allocations: 177.2 kB / 366.3 MB, free: 1.984 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.362/1.362, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0009221/0.0009222, allocations: 93.08 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.234e-06/7.264e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6901/0.6901, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.863, allocations: 140.7 MB / 1.11 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.8633, allocations: 84.44 kB / 1.11 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03158/0.8949, allocations: 11.46 MB / 1.121 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.505e-06/0.8949, allocations: 0 / 1.121 GB, free: 12.3 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005407/0.8955, allocations: 450.2 kB / 1.122 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.8955, allocations: 8.031 kB / 1.122 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.8956, allocations: 8 kB / 1.122 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.8957, allocations: 183 kB / 1.122 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.8958, allocations: 4 kB / 1.122 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.8958, allocations: 7.984 kB / 1.122 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001364/0.8959, allocations: 63.95 kB / 1.122 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.8961, allocations: 125.5 kB / 1.122 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.8961, allocations: 0 / 1.122 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.8962, allocations: 3.906 kB / 1.122 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.8962, allocations: 4 kB / 1.122 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.8963, allocations: 138.2 kB / 1.122 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.8965, allocations: 106.6 kB / 1.122 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.8966, allocations: 104.9 kB / 1.122 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.8966, allocations: 0 / 1.122 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.8966, allocations: 30.56 kB / 1.122 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.8966, allocations: 0 / 1.122 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.000496/0.8971, allocations: 193.4 kB / 1.123 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.8972, allocations: 89.09 kB / 1.123 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.8974, allocations: 120.8 kB / 1.123 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.8974, allocations: 25.7 kB / 1.123 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.8974, allocations: 96.11 kB / 1.123 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.8975, allocations: 15.8 kB / 1.123 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.8975, allocations: 4 kB / 1.123 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8976, allocations: 314.8 kB / 1.123 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.8977, allocations: 59.95 kB / 1.123 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.467e-05/0.8978, allocations: 55.95 kB / 1.123 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.898, allocations: 72.31 kB / 1.123 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.898, allocations: 0 / 1.123 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003859/0.8984, allocations: 189.5 kB / 1.124 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.8984, allocations: 8.062 kB / 1.124 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.8984, allocations: 3.938 kB / 1.124 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.8985, allocations: 0 / 1.124 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.8985, allocations: 3.938 kB / 1.124 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.8985, allocations: 0 / 1.124 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.8987, allocations: 19.89 kB / 1.124 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/0.8988, allocations: 22.8 kB / 1.124 GB, free: 9.613 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.000161/0.8989, allocations: 154.7 kB / 1.124 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.899, allocations: 11.91 kB / 1.124 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.751e-05/0.899, allocations: 8.375 kB / 1.124 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.899, allocations: 3.906 kB / 1.124 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.899, allocations: 0 / 1.124 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.899, allocations: 0 / 1.124 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.8991, allocations: 154.1 kB / 1.124 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.8991, allocations: 8 kB / 1.124 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.8991, allocations: 0 / 1.124 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8991, allocations: 0 / 1.124 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.8992, allocations: 11.98 kB / 1.124 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/0.8992, allocations: 7.906 kB / 1.124 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8992, allocations: 0 / 1.124 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004244/0.8996, allocations: 240.9 kB / 1.124 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.8997, allocations: 93 kB / 1.124 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.8997, allocations: 4 kB / 1.124 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.8999, allocations: 15.98 kB / 1.124 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.9, allocations: 15.95 kB / 1.124 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.9, allocations: 16 kB / 1.124 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.869e-05/0.9001, allocations: 91.27 kB / 1.124 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003625/0.9005, allocations: 95.92 kB / 1.125 GB, free: 8.613 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * 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 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Utilities/IO/Python36/Functions/BaseClasses/exchange.mo:2:1-81:13:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:5:5-46:20:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:48:3-78:17:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0007408/0.9012, allocations: 369.8 kB / 1.125 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002922/0.9015, allocations: 205.6 kB / 1.125 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9015, allocations: 0 / 1.125 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.9017, allocations: 185.6 kB / 1.125 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.9018, allocations: 4 kB / 1.125 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009243/0.9028, allocations: 459.2 kB / 1.126 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.903, allocations: 0.6919 MB / 1.126 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/0.903, allocations: 0 / 1.126 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of Templates: time 0.006467/0.9095, allocations: 3.481 MB / 1.13 GB, free: 3.281 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)