Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.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: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) [: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.831/1.831, 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.0009645/0.0009645, allocations: 185.3 kB / 490.8 MB, free: 1.922 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.156/1.156, allocations: 221.4 MB / 0.7863 GB, free: 13.65 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.0009637/0.0009637, allocations: 98.3 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4438/0.4448, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.6342, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5175/1.152, allocations: 150.8 MB / 1.359 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/1.152, allocations: 87.3 kB / 1.359 GB, free: 17.16 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.01563/1.168, allocations: 5.986 MB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/1.168, allocations: 8.969 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.235e-05/1.168, allocations: 78.23 kB / 1.365 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/1.168, allocations: 239.5 kB / 1.365 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-05/1.168, allocations: 152.1 kB / 1.365 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/1.168, allocations: 157.3 kB / 1.365 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.467e-05/1.168, allocations: 150.6 kB / 1.366 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.585e-05/1.168, allocations: 106.4 kB / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/1.168, allocations: 75.28 kB / 1.366 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.871e-05/1.168, allocations: 154.5 kB / 1.366 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.962e-05/1.168, allocations: 150.6 kB / 1.366 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/1.169, allocations: 433.9 kB / 1.366 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.787e-05/1.169, allocations: 169.1 kB / 1.367 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/1.169, allocations: 81.3 kB / 1.367 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/1.169, allocations: 79.27 kB / 1.367 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/1.169, allocations: 116.4 kB / 1.367 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/1.169, allocations: 0 / 1.367 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.624e-05/1.169, allocations: 34.92 kB / 1.367 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/1.169, allocations: 52.75 kB / 1.367 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.899e-05/1.169, allocations: 92.69 kB / 1.367 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/1.169, allocations: 25.7 kB / 1.367 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/1.169, allocations: 84.92 kB / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-06/1.169, allocations: 0 / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/1.169, allocations: 0 / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.169, allocations: 317.5 kB / 1.368 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/1.169, allocations: 9.875 kB / 1.368 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/1.169, allocations: 11.36 kB / 1.368 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.31e-05/1.169, allocations: 16.44 kB / 1.368 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.169, allocations: 0 / 1.368 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001445/1.169, allocations: 52.66 kB / 1.368 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/1.169, allocations: 9.375 kB / 1.368 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.169, allocations: 2.969 kB / 1.368 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/1.169, allocations: 1.688 kB / 1.368 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/1.169, allocations: 3.938 kB / 1.368 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/1.169, allocations: 5.484 kB / 1.368 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/1.17, allocations: 5.094 kB / 1.368 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/1.17, allocations: 8.859 kB / 1.368 GB, free: 29.58 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: 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 8.071e-05/1.17, allocations: 177.3 kB / 1.368 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/1.17, allocations: 102.3 kB / 1.368 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/1.17, allocations: 106.3 kB / 1.368 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.105e-05/1.17, allocations: 186.8 kB / 1.368 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.752e-05/1.17, allocations: 181.7 kB / 1.368 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.635e-05/1.17, allocations: 178 kB / 1.369 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/1.17, allocations: 385.3 kB / 1.369 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.565e-05/1.17, allocations: 103.5 kB / 1.369 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.781e-05/1.17, allocations: 106.2 kB / 1.369 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-05/1.17, allocations: 186.6 kB / 1.369 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/1.17, allocations: 178.7 kB / 1.369 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.606e-05/1.17, allocations: 177.7 kB / 1.37 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.806e-05/1.17, allocations: 181.2 kB / 1.37 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001095/1.171, allocations: 310 kB / 1.37 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002719/1.171, allocations: 0.6751 MB / 1.371 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/1.171, allocations: 180.4 kB / 1.371 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/1.171, allocations: 182.6 kB / 1.371 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.286e-05/1.171, allocations: 110.1 kB / 1.371 GB, free: 25.78 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/1.171, allocations: 182.2 kB / 1.371 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/1.171, allocations: 107.9 kB / 1.371 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.273e-05/1.171, allocations: 78.25 kB / 1.372 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008867/1.172, allocations: 84.48 kB / 1.372 GB, free: 25.39 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/Utilities/IO/Python_3_8/Functions/BaseClasses/exchange.mo:2:1-83:13:writable] Warning: Could not find library python3.8 in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.8.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.8.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.8.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/x86_64-linux/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/x86_64-linux/libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.8.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Utilities/IO/Python_3_8/Functions/BaseClasses/PythonObject.mo:5:5-48:20:writable] Warning: Could not find library python3.8 in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.8.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.8.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.8.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/x86_64-linux/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/x86_64-linux/libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.8.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Utilities/IO/Python_3_8/Functions/BaseClasses/PythonObject.mo:50:3-82:17:writable] Warning: Could not find library python3.8 in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.8.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.8.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.8.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/x86_64-linux/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/x86_64-linux/libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.8.so Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/1.173, allocations: 427.4 kB / 1.372 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001056/1.173, allocations: 71.36 kB / 1.372 GB, free: 25.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.173, allocations: 0 / 1.372 GB, free: 25.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/1.173, allocations: 1.219 kB / 1.372 GB, free: 25.06 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/1.173, allocations: 0.5226 MB / 1.373 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001711/1.174, allocations: 127.4 kB / 1.373 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/1.174, allocations: 0.6839 MB / 1.373 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.174, allocations: 1.312 kB / 1.373 GB, free: 23.7 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)