Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.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.505/1.505, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.001093/0.001093, allocations: 177.3 kB / 366.3 MB, free: 1.961 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.319/1.319, allocations: 205.2 MB / 0.6256 GB, free: 5.801 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.0008734/0.0008734, allocations: 85.73 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.726e-06/8.746e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6088/0.6088, allocations: 116.3 MB / 0.9726 GB, free: 68.53 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.7781, allocations: 141.6 MB / 1.111 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.7785, allocations: 93.31 kB / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0364/0.8149, allocations: 12.54 MB / 1.123 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.8149, allocations: 3.938 kB / 1.123 GB, free: 10.26 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.0006016/0.8155, allocations: 455.9 kB / 1.124 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.8156, allocations: 8.031 kB / 1.124 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.8156, allocations: 8 kB / 1.124 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.8158, allocations: 178.9 kB / 1.124 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.8158, allocations: 8 kB / 1.124 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.8159, allocations: 4 kB / 1.124 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001374/0.816, allocations: 63.89 kB / 1.124 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.8162, allocations: 121.6 kB / 1.124 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.8162, allocations: 0 / 1.124 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.8163, allocations: 11.89 kB / 1.124 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.8163, allocations: 0 / 1.124 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.8164, allocations: 134.2 kB / 1.124 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.8166, allocations: 114.6 kB / 1.124 GB, free: 9.035 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.8167, allocations: 100.9 kB / 1.124 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.539e-06/0.8167, allocations: 0 / 1.124 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.8167, allocations: 38.5 kB / 1.124 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.8167, allocations: 0 / 1.124 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005408/0.8173, allocations: 193.5 kB / 1.125 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.8174, allocations: 85.11 kB / 1.125 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.8175, allocations: 120.9 kB / 1.125 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.8175, allocations: 29.73 kB / 1.125 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.8176, allocations: 88.14 kB / 1.125 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.8176, allocations: 15.75 kB / 1.125 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.8176, allocations: 0 / 1.125 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.8177, allocations: 322.8 kB / 1.125 GB, free: 8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.8178, allocations: 51.97 kB / 1.125 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.8179, allocations: 59.95 kB / 1.125 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.8181, allocations: 75.92 kB / 1.125 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8182, allocations: 0 / 1.125 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004508/0.8186, allocations: 197.5 kB / 1.126 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.8186, allocations: 4 kB / 1.126 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.8187, allocations: 4.359 kB / 1.126 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.8187, allocations: 0 / 1.126 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.8187, allocations: 4 kB / 1.126 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.8187, allocations: 0 / 1.126 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.8189, allocations: 23.77 kB / 1.126 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.819, allocations: 16 kB / 1.126 GB, free: 7.566 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.0001569/0.8191, allocations: 150.7 kB / 1.126 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.8192, allocations: 15.89 kB / 1.126 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.8192, allocations: 12.38 kB / 1.126 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.8192, allocations: 3.906 kB / 1.126 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.8192, allocations: 0 / 1.126 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.8192, allocations: 0 / 1.126 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.8193, allocations: 146.2 kB / 1.126 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8193, allocations: 0 / 1.126 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.8193, allocations: 0 / 1.126 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8194, allocations: 0 / 1.126 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.8194, allocations: 19.98 kB / 1.126 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.8194, allocations: 3.906 kB / 1.126 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.8194, allocations: 0 / 1.126 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004535/0.8199, allocations: 244.8 kB / 1.126 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.8199, allocations: 93 kB / 1.126 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.82, allocations: 4 kB / 1.126 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.8202, allocations: 24 kB / 1.126 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.8202, allocations: 7.984 kB / 1.126 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.204e-05/0.8203, allocations: 16 kB / 1.126 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.474e-05/0.8204, allocations: 91.27 kB / 1.126 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004214/0.8208, allocations: 111.8 kB / 1.127 GB, free: 6.555 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/Obsolete/Utilities/IO/Python27/Functions/BaseClasses/exchange.mo:2:1-72:13:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython2.7.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Obsolete/Utilities/IO/Python27/Functions/BaseClasses/PythonObject.mo:5:5-37:20:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython2.7.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Obsolete/Utilities/IO/Python27/Functions/BaseClasses/PythonObject.mo:39:3-60:17:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython2.7.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0008655/0.8217, allocations: 437.3 kB / 1.127 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.822, allocations: 209.6 kB / 1.127 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.822, allocations: 0 / 1.127 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.8222, allocations: 181.6 kB / 1.127 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.8223, allocations: 4 kB / 1.127 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.8234, allocations: 487.1 kB / 1.128 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.8236, allocations: 0.6958 MB / 1.128 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/0.8236, allocations: 0 / 1.128 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.00713/0.8308, allocations: 3.76 MB / 1.132 GB, free: 0.8516 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)