Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange") translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_9_Buildings.Obsolete.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 9.1.1-maint.9.1.x/package.mo): time 1.924/1.924, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 185.2 kB / 487 MB, free: 5.367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008915/0.0008915, allocations: 92.69 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.371e-06/5.391e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2245, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5959/0.8205, allocations: 151.5 MB / 1.353 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.8208, allocations: 91.73 kB / 1.353 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.03229/0.8532, allocations: 11.84 MB / 1.365 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.8532, allocations: 4 kB / 1.365 GB, free: 12.31 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005031/0.8537, allocations: 447.4 kB / 1.365 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.8538, allocations: 15.97 kB / 1.365 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.8538, allocations: 79.28 kB / 1.365 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.854, allocations: 261.8 kB / 1.366 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.854, allocations: 150.6 kB / 1.366 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.854, allocations: 154.6 kB / 1.366 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.542e-05/0.8541, allocations: 158.6 kB / 1.366 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.192e-05/0.8541, allocations: 101 kB / 1.366 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.8541, allocations: 75.28 kB / 1.366 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.8541, allocations: 150.6 kB / 1.366 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.8542, allocations: 154.5 kB / 1.367 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.8544, allocations: 458.1 kB / 1.367 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.211e-05/0.8544, allocations: 165.1 kB / 1.367 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.8545, allocations: 80.14 kB / 1.367 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.8545, allocations: 75.28 kB / 1.367 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.8545, allocations: 116.8 kB / 1.367 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.8545, allocations: 0 / 1.367 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.866e-05/0.8546, allocations: 37.59 kB / 1.367 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.564e-05/0.8546, allocations: 63.33 kB / 1.367 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/0.8547, allocations: 127.3 kB / 1.368 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.8547, allocations: 29.7 kB / 1.368 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.023e-05/0.8548, allocations: 91.81 kB / 1.368 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-06/0.8548, allocations: 0 / 1.368 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.8548, allocations: 4 kB / 1.368 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.162e-05/0.8548, allocations: 318.8 kB / 1.368 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/0.8549, allocations: 62.64 kB / 1.368 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/0.855, allocations: 55.08 kB / 1.368 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.8552, allocations: 67.81 kB / 1.368 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8552, allocations: 7.938 kB / 1.368 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00038/0.8556, allocations: 191 kB / 1.368 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.8556, allocations: 4 kB / 1.368 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.8557, allocations: 3.938 kB / 1.368 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.8557, allocations: 3.906 kB / 1.368 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.8557, allocations: 64 / 1.368 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.8557, allocations: 4 kB / 1.368 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.8559, allocations: 19.89 kB / 1.368 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.856, allocations: 19.48 kB / 1.368 GB, free: 8.512 MB / 0.8073 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 8.137e-05/0.856, allocations: 184.2 kB / 1.369 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.8561, allocations: 108.9 kB / 1.369 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.8561, allocations: 108.5 kB / 1.369 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/0.8561, allocations: 180.2 kB / 1.369 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/0.8562, allocations: 184.2 kB / 1.369 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.8562, allocations: 180.1 kB / 1.369 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.8563, allocations: 401 kB / 1.37 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.8563, allocations: 101 kB / 1.37 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/0.8564, allocations: 105 kB / 1.37 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.442e-05/0.8564, allocations: 181.5 kB / 1.37 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.8564, allocations: 180.2 kB / 1.37 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.857e-05/0.8564, allocations: 180.3 kB / 1.37 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.429e-05/0.8565, allocations: 184.1 kB / 1.371 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.078e-05/0.8565, allocations: 303.7 kB / 1.371 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.8566, allocations: 201.4 kB / 1.371 GB, free: 5.629 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/0.8567, allocations: 179.4 kB / 1.371 GB, free: 21.45 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.653e-05/0.8568, allocations: 101.3 kB / 1.371 GB, free: 21.34 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.8568, allocations: 188.2 kB / 1.372 GB, free: 21.15 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.8569, allocations: 105 kB / 1.372 GB, free: 21.04 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.526e-05/0.8569, allocations: 109.7 kB / 1.372 GB, free: 20.95 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003801/0.8573, allocations: 94.75 kB / 1.372 GB, free: 20.86 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 9.1.1-maint.9.1.x/Obsolete/Utilities/IO/Python36/Functions/BaseClasses/exchange.mo:2:1-85: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 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Obsolete/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:5:5-50: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 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Obsolete/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:52:3-82: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 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0006895/0.858, allocations: 432.4 kB / 1.372 GB, free: 20.51 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001727/0.8582, allocations: 139 kB / 1.372 GB, free: 20.41 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8582, allocations: 0 / 1.372 GB, free: 20.41 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.8582, allocations: 0 / 1.372 GB, free: 20.41 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.8585, allocations: 0.5255 MB / 1.373 GB, free: 19.88 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.8587, allocations: 177.9 kB / 1.373 GB, free: 19.69 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.859, allocations: 0.688 MB / 1.374 GB, free: 18.98 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.859, allocations: 0 / 1.374 GB, free: 18.98 MB / 0.823 GB Notification: Performance of Templates: time 0.004005/0.863, allocations: 2.388 MB / 1.376 GB, free: 16.62 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)