Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.471/2.471, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00222/0.00222, allocations: 193.2 kB / 360.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.2 MB / 0.6188 GB, free: 12.53 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 91.72 kB / 0.7318 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.087e-05/1.105e-05, allocations: 0 / 0.8503 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6077/0.6078, allocations: 115.2 MB / 0.9628 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2239/0.8317, allocations: 140.5 MB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003728/0.8322, allocations: 96.53 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of FrontEnd: time 0.05984/0.892, allocations: 12.54 MB / 1.112 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.8921, allocations: 0 / 1.112 GB, free: 3.824 MB / 0.7136 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.0007604/0.8929, allocations: 459.9 kB / 1.113 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.8929, allocations: 8.531 kB / 1.113 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.893, allocations: 8.75 kB / 1.113 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.8932, allocations: 175 kB / 1.113 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.8932, allocations: 0 / 1.113 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.8933, allocations: 13.12 kB / 1.113 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002063/0.8935, allocations: 59.95 kB / 1.113 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.8938, allocations: 121.6 kB / 1.113 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.8938, allocations: 0.9375 kB / 1.113 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.8939, allocations: 11.84 kB / 1.113 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.8939, allocations: 0 / 1.113 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.8941, allocations: 138.2 kB / 1.113 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.8943, allocations: 114.6 kB / 1.113 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.8945, allocations: 104.9 kB / 1.113 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.8945, allocations: 0 / 1.113 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.8946, allocations: 34.56 kB / 1.113 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 3.336e-06/0.8946, allocations: 3.984 kB / 1.113 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0008028/0.8954, allocations: 188.4 kB / 1.114 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/0.8955, allocations: 93.09 kB / 1.114 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.8957, allocations: 118 kB / 1.114 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.8957, allocations: 29.7 kB / 1.114 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.8958, allocations: 89.11 kB / 1.114 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.523e-05/0.8958, allocations: 19.73 kB / 1.114 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.8959, allocations: 4 kB / 1.114 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.896, allocations: 314.8 kB / 1.114 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.8962, allocations: 59.95 kB / 1.114 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.8963, allocations: 59.95 kB / 1.114 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.8967, allocations: 67.94 kB / 1.114 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8967, allocations: 0 / 1.114 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006667/0.8974, allocations: 193.5 kB / 1.115 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.8974, allocations: 13.16 kB / 1.115 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.8974, allocations: 0.8438 kB / 1.115 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.8975, allocations: 0 / 1.115 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/0.8975, allocations: 0 / 1.115 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.8975, allocations: 0 / 1.115 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/0.8979, allocations: 20.7 kB / 1.115 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/0.898, allocations: 15.92 kB / 1.115 GB, free: 1.137 MB / 0.7136 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.0002241/0.8983, allocations: 166.4 kB / 1.115 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.8983, allocations: 11.91 kB / 1.115 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.8984, allocations: 8.375 kB / 1.115 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.8984, allocations: 4.75 kB / 1.115 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.8984, allocations: 0 / 1.115 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.8984, allocations: 3.984 kB / 1.115 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.8986, allocations: 142.2 kB / 1.115 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8986, allocations: 7.125 kB / 1.115 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.8986, allocations: 0 / 1.115 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.8986, allocations: 0 / 1.115 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/0.8986, allocations: 11.98 kB / 1.115 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.8987, allocations: 7.906 kB / 1.115 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8987, allocations: 2.703 kB / 1.115 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007827/0.8995, allocations: 240.9 kB / 1.115 GB, free: 492 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.8995, allocations: 93 kB / 1.115 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/0.8996, allocations: 7.984 kB / 1.115 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.9, allocations: 20.02 kB / 1.115 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.9001, allocations: 8 kB / 1.115 GB, free: 344 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.664e-05/0.9002, allocations: 15.98 kB / 1.115 GB, free: 328 kB / 0.7136 GB Notification: Performance of sort global known variables: time 8.094e-05/0.9003, allocations: 99.2 kB / 1.116 GB, free: 228 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006218/0.9009, allocations: 103.9 kB / 1.116 GB, free: 124 kB / 0.7136 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 [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.so [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.so [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.so Notification: Performance of Backend phase and start with SimCode phase: time 0.001241/0.9021, allocations: 434.8 kB / 1.116 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005394/0.9027, allocations: 209.6 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.9027, allocations: 0 / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.9031, allocations: 185.6 kB / 1.116 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.9033, allocations: 8 kB / 1.116 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.905, allocations: 480.5 kB / 1.117 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.9053, allocations: 0.6932 MB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of SimCode: time 1.192e-06/0.9053, allocations: 0 / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of Templates: time 0.0113/0.9166, allocations: 3.762 MB / 1.121 GB, free: 10.51 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)