Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.207/2.207, allocations: 284.9 MB / 292.2 MB, free: 1.211 MB / 226.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001638/0.001638, allocations: 190 kB / 360.4 MB, free: 15.52 MB / 290.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.1 MB / 0.6188 GB, free: 6.387 MB / 466.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 88.16 kB / 0.7318 GB, free: 46.98 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 8.677e-06/8.826e-06, allocations: 0 / 0.8502 GB, free: 13.45 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5927/0.5928, allocations: 115.2 MB / 0.9628 GB, free: 86.23 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2129/0.8057, allocations: 140 MB / 1.1 GB, free: 10.12 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/0.8061, allocations: 83.94 kB / 1.1 GB, free: 10.04 MB / 0.7059 GB Notification: Performance of FrontEnd: time 0.05628/0.8624, allocations: 11.88 MB / 1.111 GB, free: 14.23 MB / 0.7215 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.8624, allocations: 0 / 1.111 GB, free: 14.23 MB / 0.7215 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.0006935/0.8631, allocations: 455.9 kB / 1.112 GB, free: 13.73 MB / 0.7215 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.8632, allocations: 16.78 kB / 1.112 GB, free: 13.72 MB / 0.7215 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.453e-05/0.8633, allocations: 4 kB / 1.112 GB, free: 13.71 MB / 0.7215 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.8634, allocations: 175 kB / 1.112 GB, free: 13.5 MB / 0.7215 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.8635, allocations: 0 / 1.112 GB, free: 13.5 MB / 0.7215 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.8635, allocations: 8 kB / 1.112 GB, free: 13.5 MB / 0.7215 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000198/0.8637, allocations: 63.95 kB / 1.112 GB, free: 13.43 MB / 0.7215 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.864, allocations: 117.6 kB / 1.112 GB, free: 13.31 MB / 0.7215 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.864, allocations: 1.25 kB / 1.112 GB, free: 13.31 MB / 0.7215 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.8641, allocations: 7.906 kB / 1.112 GB, free: 13.3 MB / 0.7215 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.8641, allocations: 0 / 1.112 GB, free: 13.3 MB / 0.7215 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.8643, allocations: 139.4 kB / 1.112 GB, free: 13.13 MB / 0.7215 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.8645, allocations: 118.5 kB / 1.112 GB, free: 13.01 MB / 0.7215 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.8647, allocations: 100.9 kB / 1.112 GB, free: 12.91 MB / 0.7215 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.8647, allocations: 0 / 1.112 GB, free: 12.91 MB / 0.7215 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.076e-05/0.8648, allocations: 34.56 kB / 1.112 GB, free: 12.86 MB / 0.7215 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.8648, allocations: 0 / 1.112 GB, free: 12.86 MB / 0.7215 GB Notification: Performance of matching and sorting (n=6): time 0.0007564/0.8656, allocations: 185.5 kB / 1.113 GB, free: 12.68 MB / 0.7215 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.8657, allocations: 97.12 kB / 1.113 GB, free: 12.56 MB / 0.7215 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.8658, allocations: 126.3 kB / 1.113 GB, free: 12.44 MB / 0.7215 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.8659, allocations: 29.7 kB / 1.113 GB, free: 12.4 MB / 0.7215 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.8659, allocations: 88.08 kB / 1.113 GB, free: 12.31 MB / 0.7215 GB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.866, allocations: 15.8 kB / 1.113 GB, free: 12.3 MB / 0.7215 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.866, allocations: 4 kB / 1.113 GB, free: 12.29 MB / 0.7215 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.8662, allocations: 314.8 kB / 1.113 GB, free: 11.98 MB / 0.7215 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.8663, allocations: 59.95 kB / 1.113 GB, free: 11.92 MB / 0.7215 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.8665, allocations: 63.95 kB / 1.113 GB, free: 11.86 MB / 0.7215 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.8669, allocations: 69.5 kB / 1.113 GB, free: 11.79 MB / 0.7215 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.8669, allocations: 0 / 1.113 GB, free: 11.79 MB / 0.7215 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006668/0.8676, allocations: 189.5 kB / 1.114 GB, free: 11.6 MB / 0.7215 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8676, allocations: 8 kB / 1.114 GB, free: 11.59 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.8676, allocations: 0 / 1.114 GB, free: 11.59 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.8677, allocations: 0 / 1.114 GB, free: 11.59 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.8677, allocations: 1.219 kB / 1.114 GB, free: 11.59 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.8677, allocations: 0 / 1.114 GB, free: 11.59 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.8681, allocations: 23.95 kB / 1.114 GB, free: 11.57 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/0.8682, allocations: 15.98 kB / 1.114 GB, free: 11.55 MB / 0.7215 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.0002063/0.8684, allocations: 150.7 kB / 1.114 GB, free: 11.39 MB / 0.7215 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.8685, allocations: 15.91 kB / 1.114 GB, free: 11.38 MB / 0.7215 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.8685, allocations: 8.375 kB / 1.114 GB, free: 11.37 MB / 0.7215 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.381e-06/0.8685, allocations: 6.656 kB / 1.114 GB, free: 11.36 MB / 0.7215 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.8686, allocations: 0 / 1.114 GB, free: 11.36 MB / 0.7215 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.8686, allocations: 7.922 kB / 1.114 GB, free: 11.36 MB / 0.7215 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.8687, allocations: 158.1 kB / 1.114 GB, free: 11.16 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8687, allocations: 0 / 1.114 GB, free: 11.16 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.8687, allocations: 0 / 1.114 GB, free: 11.16 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.8688, allocations: 2.438 kB / 1.114 GB, free: 11.16 MB / 0.7215 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.8688, allocations: 11.98 kB / 1.114 GB, free: 11.15 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.8688, allocations: 3.906 kB / 1.114 GB, free: 11.15 MB / 0.7215 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8688, allocations: 0 / 1.114 GB, free: 11.15 MB / 0.7215 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007312/0.8696, allocations: 244.9 kB / 1.114 GB, free: 10.89 MB / 0.7215 GB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.8696, allocations: 93.03 kB / 1.114 GB, free: 10.78 MB / 0.7215 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/0.8697, allocations: 11.98 kB / 1.114 GB, free: 10.77 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.8701, allocations: 11.98 kB / 1.114 GB, free: 10.76 MB / 0.7215 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.8702, allocations: 8 kB / 1.114 GB, free: 10.75 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.8702, allocations: 15.98 kB / 1.114 GB, free: 10.73 MB / 0.7215 GB Notification: Performance of sort global known variables: time 6.905e-05/0.8703, allocations: 95.27 kB / 1.114 GB, free: 10.64 MB / 0.7215 GB Notification: Performance of remove unused functions: time 0.0006301/0.871, allocations: 103.9 kB / 1.115 GB, free: 10.54 MB / 0.7215 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/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 /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.so [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.so [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/0.8721, allocations: 444.1 kB / 1.115 GB, free: 10.23 MB / 0.7215 GB Notification: Performance of simCode: created initialization part: time 0.0005023/0.8726, allocations: 209.6 kB / 1.115 GB, free: 10.02 MB / 0.7215 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8726, allocations: 0 / 1.115 GB, free: 10.02 MB / 0.7215 GB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.873, allocations: 181.6 kB / 1.115 GB, free: 9.84 MB / 0.7215 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.8731, allocations: 4.688 kB / 1.115 GB, free: 9.836 MB / 0.7215 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.8749, allocations: 460 kB / 1.116 GB, free: 9.363 MB / 0.7215 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/0.8752, allocations: 0.6919 MB / 1.116 GB, free: 8.645 MB / 0.7215 GB Notification: Performance of SimCode: time 1.152e-06/0.8752, allocations: 0 / 1.116 GB, free: 8.645 MB / 0.7215 GB Notification: Performance of Templates: time 0.0107/0.886, allocations: 3.713 MB / 1.12 GB, free: 4.984 MB / 0.7215 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)