Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.384/1.384, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009408/0.0009409, allocations: 173.3 kB / 361.1 MB, free: 7.082 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.32/1.32, allocations: 205.1 MB / 0.6195 GB, free: 10.26 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.0008612/0.0008615, allocations: 94.47 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.124e-06, allocations: 0 / 0.8511 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5791/0.5792, allocations: 115.3 MB / 0.9637 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1758/0.755, allocations: 140.2 MB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.7553, allocations: 84.55 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03477/0.7901, allocations: 11.88 MB / 1.112 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.7902, allocations: 4 kB / 1.112 GB, free: 3.926 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.0005738/0.7908, allocations: 459.9 kB / 1.113 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.7908, allocations: 8.031 kB / 1.113 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.7909, allocations: 4 kB / 1.113 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.791, allocations: 183 kB / 1.113 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.791, allocations: 4 kB / 1.113 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.7911, allocations: 4 kB / 1.113 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001354/0.7912, allocations: 59.97 kB / 1.113 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.7914, allocations: 127.1 kB / 1.113 GB, free: 3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.7914, allocations: 0 / 1.113 GB, free: 3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.7914, allocations: 3.906 kB / 1.113 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.7915, allocations: 0 / 1.113 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.7916, allocations: 138.2 kB / 1.113 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.7918, allocations: 117.7 kB / 1.113 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.7919, allocations: 100.9 kB / 1.113 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.7919, allocations: 0 / 1.113 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.7919, allocations: 34.56 kB / 1.113 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.792, allocations: 0 / 1.113 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005355/0.7925, allocations: 189.4 kB / 1.114 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.7926, allocations: 97.09 kB / 1.114 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.748e-05/0.7927, allocations: 116.9 kB / 1.114 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.7927, allocations: 29.7 kB / 1.114 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.7927, allocations: 88.12 kB / 1.114 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.7928, allocations: 15.75 kB / 1.114 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.7928, allocations: 4 kB / 1.114 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.793, allocations: 318.8 kB / 1.114 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/0.7931, allocations: 55.95 kB / 1.114 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.439e-05/0.7932, allocations: 59.95 kB / 1.114 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.7934, allocations: 69.06 kB / 1.114 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.7934, allocations: 4.031 kB / 1.114 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003929/0.7938, allocations: 193.5 kB / 1.115 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.7938, allocations: 4 kB / 1.115 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7938, allocations: 0 / 1.115 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.7939, allocations: 0 / 1.115 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.454e-06/0.7939, allocations: 0 / 1.115 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.7939, allocations: 3.938 kB / 1.115 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.7941, allocations: 21.77 kB / 1.115 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.7942, allocations: 25.83 kB / 1.115 GB, free: 1.238 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.000158/0.7944, allocations: 146.7 kB / 1.115 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.7944, allocations: 15.89 kB / 1.115 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.7945, allocations: 12.36 kB / 1.115 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.7945, allocations: 3.906 kB / 1.115 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7945, allocations: 0 / 1.115 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.7945, allocations: 4 kB / 1.115 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.7946, allocations: 146.2 kB / 1.115 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.7946, allocations: 0 / 1.115 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-06/0.7946, allocations: 4 kB / 1.115 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.7946, allocations: 3.938 kB / 1.115 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.7946, allocations: 11.98 kB / 1.115 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7946, allocations: 3.906 kB / 1.115 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7947, allocations: 0 / 1.115 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004596/0.7951, allocations: 246.6 kB / 1.115 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.7952, allocations: 89 kB / 1.115 GB, free: 492 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.7952, allocations: 11.98 kB / 1.115 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.7954, allocations: 16.02 kB / 1.115 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.7955, allocations: 8 kB / 1.115 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.7955, allocations: 24.95 kB / 1.115 GB, free: 432 kB / 0.7136 GB Notification: Performance of sort global known variables: time 5.218e-05/0.7956, allocations: 91.27 kB / 1.116 GB, free: 340 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004271/0.796, allocations: 105.7 kB / 1.116 GB, free: 236 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 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0009272/0.797, allocations: 434 kB / 1.116 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.7973, allocations: 214 kB / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7973, allocations: 4 kB / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.7975, allocations: 177.6 kB / 1.116 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.7976, allocations: 8.938 kB / 1.116 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.7987, allocations: 459.9 kB / 1.117 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.799, allocations: 0.6965 MB / 1.118 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.799, allocations: 0 / 1.118 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of Templates: time 0.006709/0.8057, allocations: 3.705 MB / 1.121 GB, free: 10.7 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)