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.ExchangeWithPassPythonObject.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.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") [: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.237/2.237, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.001587/0.001587, allocations: 185.2 kB / 360.4 MB, free: 7.523 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.673/1.673, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001231/0.00123, allocations: 94.45 kB / 0.7318 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.354e-05/1.369e-05, allocations: 0 / 0.8503 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6079/0.6079, allocations: 115.2 MB / 0.9628 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2107/0.8187, allocations: 138.6 MB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/0.8191, allocations: 87.94 kB / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02684/0.846, allocations: 5.59 MB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.846, allocations: 0.5625 kB / 1.104 GB, free: 12.61 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006343/0.8467, allocations: 403.9 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.8467, allocations: 8.531 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.8468, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.847, allocations: 171 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.847, allocations: 4.594 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.847, allocations: 0.625 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.853e-05/0.8471, allocations: 4 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.8473, allocations: 41.69 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.8473, allocations: 0 / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.8473, allocations: 4 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.8473, allocations: 5.172 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.8476, allocations: 138.1 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.705e-05/0.8477, allocations: 36.22 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.8477, allocations: 8.922 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.8478, allocations: 8 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.8478, allocations: 34.56 kB / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.542e-06/0.8478, allocations: 0 / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002788/0.8481, allocations: 53.67 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.948e-05/0.8482, allocations: 51.41 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.896e-05/0.8483, allocations: 96.84 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.8483, allocations: 25.7 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.8484, allocations: 88.3 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.8484, allocations: 0 / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.8485, allocations: 3.938 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.8486, allocations: 318.8 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.8486, allocations: 7.984 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/0.8487, allocations: 4 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.543e-05/0.8488, allocations: 19.98 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8488, allocations: 0 / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001764/0.849, allocations: 53.75 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.849, allocations: 5.656 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.849, allocations: 7.984 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.8491, allocations: 0 / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.8491, allocations: 0 / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.8491, allocations: 0 / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.8491, allocations: 3.906 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.8492, allocations: 6.656 kB / 1.105 GB, free: 10.84 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.337e-05/0.8493, allocations: 104.8 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.8493, allocations: 8.031 kB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.8496, allocations: 80.11 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8496, allocations: 0 / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8496, allocations: 0 / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8496, allocations: 0 / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.8498, allocations: 138.2 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.8498, allocations: 0 / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.8498, allocations: 0.6562 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.8498, allocations: 0 / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.8498, allocations: 3.984 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8498, allocations: 8.031 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.8499, allocations: 3.906 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001438/0.85, allocations: 61.12 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.8501, allocations: 78.92 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.8501, allocations: 12.5 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.584e-05/0.8502, allocations: 0 / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.8503, allocations: 3.984 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.8503, allocations: 15.97 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.666e-05/0.8504, allocations: 79.28 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004713/0.8508, allocations: 67.92 kB / 1.106 GB, free: 10.1 MB / 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001016/0.8519, allocations: 329 kB / 1.106 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.852, allocations: 75.39 kB / 1.106 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8521, allocations: 0 / 1.106 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.8521, allocations: 37.64 kB / 1.106 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.8523, allocations: 0.75 kB / 1.106 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008768/0.8532, allocations: 184.9 kB / 1.106 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.8535, allocations: 0.6841 MB / 1.107 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of SimCode: time 1.272e-06/0.8535, allocations: 128 / 1.107 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of Templates: time 0.006189/0.8597, allocations: 1.66 MB / 1.109 GB, free: 7.215 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)