Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.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: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",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.891/1.891, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001026/0.001026, allocations: 173.3 kB / 490.8 MB, free: 1.957 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.182/1.182, allocations: 221.3 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.0008482/0.0008482, allocations: 99.45 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4423/0.4432, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.6406, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5555/1.196, allocations: 151.8 MB / 1.36 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/1.196, allocations: 86.81 kB / 1.36 GB, free: 17.27 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.0294/1.226, allocations: 11.65 MB / 1.371 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/1.226, allocations: 8.719 kB / 1.371 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.479e-05/1.226, allocations: 84.44 kB / 1.371 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/1.226, allocations: 255.9 kB / 1.372 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.003e-05/1.226, allocations: 154.5 kB / 1.372 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.941e-05/1.226, allocations: 160.8 kB / 1.372 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.897e-05/1.226, allocations: 154.5 kB / 1.372 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.965e-05/1.226, allocations: 102.2 kB / 1.372 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/1.227, allocations: 75.28 kB / 1.372 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/1.227, allocations: 151.9 kB / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/1.227, allocations: 155.6 kB / 1.373 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/1.227, allocations: 452.2 kB / 1.373 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.559e-05/1.227, allocations: 169.8 kB / 1.373 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/1.227, allocations: 84.08 kB / 1.373 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/1.227, allocations: 76.45 kB / 1.373 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/1.227, allocations: 111 kB / 1.373 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.227, allocations: 0 / 1.373 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.799e-05/1.227, allocations: 37.59 kB / 1.373 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.358e-05/1.227, allocations: 51.41 kB / 1.374 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/1.227, allocations: 134.7 kB / 1.374 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/1.227, allocations: 27.42 kB / 1.374 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/1.227, allocations: 89.53 kB / 1.374 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/1.227, allocations: 0 / 1.374 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/1.228, allocations: 6.281 kB / 1.374 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.692e-05/1.228, allocations: 318.9 kB / 1.374 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/1.228, allocations: 56.38 kB / 1.374 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.971e-05/1.228, allocations: 65.02 kB / 1.374 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/1.228, allocations: 64.25 kB / 1.374 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.228, allocations: 1.344 kB / 1.374 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004207/1.228, allocations: 189.5 kB / 1.374 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.229, allocations: 8.188 kB / 1.374 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.229, allocations: 0 / 1.374 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/1.229, allocations: 9.438 kB / 1.374 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-06/1.229, allocations: 0.7031 kB / 1.374 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/1.229, allocations: 7.844 kB / 1.374 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/1.229, allocations: 18.58 kB / 1.374 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/1.229, allocations: 16.2 kB / 1.374 GB, free: 29.29 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.0001308/1.229, allocations: 185.5 kB / 1.375 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/1.229, allocations: 116.8 kB / 1.375 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/1.229, allocations: 110.4 kB / 1.375 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.697e-05/1.229, allocations: 178.2 kB / 1.375 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.877e-05/1.229, allocations: 178.7 kB / 1.375 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.548e-05/1.229, allocations: 180.9 kB / 1.375 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/1.229, allocations: 395.8 kB / 1.376 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.042e-05/1.229, allocations: 107.3 kB / 1.376 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/1.23, allocations: 109.5 kB / 1.376 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-05/1.23, allocations: 180 kB / 1.376 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/1.23, allocations: 181.5 kB / 1.376 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.614e-05/1.23, allocations: 182.8 kB / 1.376 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.291e-05/1.23, allocations: 180.9 kB / 1.377 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001107/1.23, allocations: 310.5 kB / 1.377 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002546/1.23, allocations: 0.6816 MB / 1.378 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/1.23, allocations: 192.2 kB / 1.378 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.717e-05/1.23, allocations: 182.7 kB / 1.378 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/1.23, allocations: 111 kB / 1.378 GB, free: 25.47 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/1.23, allocations: 177.4 kB / 1.378 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/1.23, allocations: 103.8 kB / 1.378 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.012e-05/1.231, allocations: 109.7 kB / 1.378 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009918/1.232, allocations: 96.05 kB / 1.379 GB, free: 25.08 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.000759/1.232, allocations: 441.3 kB / 1.379 GB, free: 24.81 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001907/1.233, allocations: 136.6 kB / 1.379 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.233, allocations: 0 / 1.379 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/1.233, allocations: 0.8438 kB / 1.379 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/1.233, allocations: 0.528 MB / 1.38 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/1.233, allocations: 172.3 kB / 1.38 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/1.233, allocations: 0.6943 MB / 1.38 GB, free: 23.4 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/1.233, allocations: 1.688 kB / 1.38 GB, free: 23.4 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1)