Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.966/1.966, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001203/0.001203, allocations: 181.3 kB / 490.8 MB, free: 1.934 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.281/1.281, allocations: 221.4 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.000967, allocations: 95.23 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.672e-06/6.712e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2473, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6558/0.9032, allocations: 152.3 MB / 1.36 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.9035, allocations: 93.73 kB / 1.36 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.03397/0.9375, allocations: 11.84 MB / 1.372 GB, free: 16.45 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.9375, allocations: 1.281 kB / 1.372 GB, free: 16.45 MB / 0.823 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.0006419/0.9382, allocations: 446.8 kB / 1.372 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.9382, allocations: 9.219 kB / 1.372 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.9384, allocations: 84.78 kB / 1.372 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.9385, allocations: 258.7 kB / 1.373 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/0.9386, allocations: 150.6 kB / 1.373 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/0.9387, allocations: 156.4 kB / 1.373 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.622e-05/0.9387, allocations: 159.1 kB / 1.373 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.282e-05/0.9388, allocations: 102.1 kB / 1.373 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.9388, allocations: 75.28 kB / 1.373 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/0.9389, allocations: 159.7 kB / 1.374 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/0.9389, allocations: 150.6 kB / 1.374 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.9393, allocations: 452.9 kB / 1.374 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.278e-05/0.9394, allocations: 170.8 kB / 1.374 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.964e-05/0.9395, allocations: 84.14 kB / 1.374 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.9395, allocations: 76.03 kB / 1.374 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.9395, allocations: 107 kB / 1.374 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.9395, allocations: 0 / 1.374 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001083/0.9397, allocations: 37.44 kB / 1.375 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/0.9397, allocations: 55.08 kB / 1.375 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.9398, allocations: 146.5 kB / 1.375 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.9399, allocations: 28.27 kB / 1.375 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.9399, allocations: 85.77 kB / 1.375 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.9399, allocations: 1.469 kB / 1.375 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.94, allocations: 2.25 kB / 1.375 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.9401, allocations: 318.6 kB / 1.375 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.9402, allocations: 63.33 kB / 1.375 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.9403, allocations: 56.92 kB / 1.375 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.9406, allocations: 66.39 kB / 1.375 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.9406, allocations: 4.031 kB / 1.375 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004996/0.9411, allocations: 192.2 kB / 1.376 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.9411, allocations: 8.625 kB / 1.376 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.9412, allocations: 1.062 kB / 1.376 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.9412, allocations: 0 / 1.376 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-06/0.9412, allocations: 0.6562 kB / 1.376 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.9412, allocations: 8.922 kB / 1.376 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.9414, allocations: 15.22 kB / 1.376 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.9415, allocations: 16.72 kB / 1.376 GB, free: 29.14 MB / 0.8386 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.000132/0.9416, allocations: 184.4 kB / 1.376 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.9417, allocations: 113.2 kB / 1.376 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.9418, allocations: 111.5 kB / 1.376 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.597e-05/0.9418, allocations: 180.6 kB / 1.376 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-05/0.9419, allocations: 181.6 kB / 1.376 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.503e-05/0.9419, allocations: 181.7 kB / 1.376 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.9421, allocations: 391 kB / 1.377 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-05/0.9422, allocations: 108.8 kB / 1.377 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.9422, allocations: 106.9 kB / 1.377 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.519e-05/0.9422, allocations: 178.8 kB / 1.377 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.871e-05/0.9423, allocations: 186.2 kB / 1.377 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.89e-05/0.9424, allocations: 178 kB / 1.378 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.214e-05/0.9424, allocations: 182.1 kB / 1.378 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001088/0.9425, allocations: 310.5 kB / 1.378 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.9426, allocations: 191.8 kB / 1.378 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/0.9427, allocations: 190.2 kB / 1.378 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.9428, allocations: 103.3 kB / 1.378 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.9428, allocations: 181.6 kB / 1.379 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.9429, allocations: 110.8 kB / 1.379 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.238e-05/0.9429, allocations: 105.2 kB / 1.379 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005013/0.9435, allocations: 96.17 kB / 1.379 GB, free: 25.61 MB / 0.8386 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 10.0.0-master/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 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0008322/0.9443, allocations: 418.8 kB / 1.379 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.9445, allocations: 135.8 kB / 1.379 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9445, allocations: 1.188 kB / 1.379 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.9445, allocations: 0.7969 kB / 1.379 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.9448, allocations: 0.5198 MB / 1.38 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.9451, allocations: 180.8 kB / 1.38 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.9454, allocations: 0.6902 MB / 1.381 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/0.9454, allocations: 0 / 1.381 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of Templates: time 0.006062/0.9515, allocations: 2.404 MB / 1.383 GB, free: 23.66 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)