Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.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: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.03/2.03, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001329/0.00133, allocations: 177.3 kB / 487 MB, free: 5.371 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.369/1.369, allocations: 221.3 MB / 0.7819 GB, free: 1.328 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.0009017/0.0009017, allocations: 99.44 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5067/0.5076, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.736, allocations: 142.3 MB / 1.205 GB, free: 26.08 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6442/1.38, allocations: 150 MB / 1.352 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/1.381, allocations: 91.59 kB / 1.352 GB, free: 15.81 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.01726/1.398, allocations: 5.969 MB / 1.358 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.398, allocations: 10.28 kB / 1.358 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/1.398, allocations: 80.75 kB / 1.358 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.073e-05/1.398, allocations: 240.9 kB / 1.358 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/1.398, allocations: 151.4 kB / 1.358 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/1.398, allocations: 156.1 kB / 1.358 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.012e-05/1.398, allocations: 155.4 kB / 1.358 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.08e-05/1.398, allocations: 105.7 kB / 1.359 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.398, allocations: 80.81 kB / 1.359 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/1.398, allocations: 151.1 kB / 1.359 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/1.398, allocations: 155.3 kB / 1.359 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/1.398, allocations: 432.2 kB / 1.359 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.109e-05/1.398, allocations: 165.9 kB / 1.36 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/1.398, allocations: 80.92 kB / 1.36 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/1.398, allocations: 79.22 kB / 1.36 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/1.399, allocations: 112 kB / 1.36 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/1.399, allocations: 4.609 kB / 1.36 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.715e-05/1.399, allocations: 27.17 kB / 1.36 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.45e-05/1.399, allocations: 52.47 kB / 1.36 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.969e-05/1.399, allocations: 95.98 kB / 1.36 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.966e-06/1.399, allocations: 26.39 kB / 1.36 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.088e-05/1.399, allocations: 85.61 kB / 1.36 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/1.399, allocations: 7.938 kB / 1.36 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/1.399, allocations: 0 / 1.36 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.512e-05/1.399, allocations: 317 kB / 1.36 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/1.399, allocations: 6.719 kB / 1.36 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/1.399, allocations: 8.812 kB / 1.36 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.372e-05/1.399, allocations: 16.19 kB / 1.36 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.399, allocations: 0.5625 kB / 1.36 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001593/1.399, allocations: 52.03 kB / 1.36 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/1.399, allocations: 8.781 kB / 1.36 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/1.399, allocations: 7.719 kB / 1.36 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/1.399, allocations: 1.094 kB / 1.36 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/1.399, allocations: 0 / 1.36 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/1.399, allocations: 0 / 1.36 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.779e-05/1.399, allocations: 7.156 kB / 1.36 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/1.399, allocations: 3.812 kB / 1.36 GB, free: 12.25 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: 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 4.853e-05/1.399, allocations: 178 kB / 1.361 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/1.399, allocations: 107 kB / 1.361 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/1.399, allocations: 114.4 kB / 1.361 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/1.399, allocations: 177.5 kB / 1.361 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-05/1.399, allocations: 178.4 kB / 1.361 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/1.399, allocations: 181.4 kB / 1.361 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/1.4, allocations: 382.2 kB / 1.362 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/1.4, allocations: 109.7 kB / 1.362 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/1.4, allocations: 111.9 kB / 1.362 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.061e-05/1.4, allocations: 177 kB / 1.362 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/1.4, allocations: 179.9 kB / 1.362 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.062e-05/1.4, allocations: 181.2 kB / 1.362 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.582e-05/1.4, allocations: 185.7 kB / 1.363 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.787e-05/1.4, allocations: 308.5 kB / 1.363 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001993/1.4, allocations: 0.6742 MB / 1.364 GB, free: 24.94 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/1.4, allocations: 184.9 kB / 1.364 GB, free: 24.73 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-05/1.4, allocations: 182.6 kB / 1.364 GB, free: 24.55 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/1.4, allocations: 106 kB / 1.364 GB, free: 24.44 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/1.4, allocations: 182.3 kB / 1.364 GB, free: 24.26 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/1.4, allocations: 105.6 kB / 1.364 GB, free: 24.15 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.777e-05/1.4, allocations: 83.58 kB / 1.364 GB, free: 24.07 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001066/1.402, allocations: 86.38 kB / 1.364 GB, free: 24.05 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/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 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.8.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.8.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.8.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.8.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.8.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0007153/1.402, allocations: 421.9 kB / 1.365 GB, free: 23.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001156/1.402, allocations: 68.77 kB / 1.365 GB, free: 23.73 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.402, allocations: 0 / 1.365 GB, free: 23.73 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/1.402, allocations: 0.875 kB / 1.365 GB, free: 23.73 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/1.403, allocations: 0.5278 MB / 1.365 GB, free: 23.21 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001795/1.403, allocations: 131.2 kB / 1.366 GB, free: 23.06 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/1.403, allocations: 0.6849 MB / 1.366 GB, free: 22.36 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/1.403, allocations: 0 / 1.366 GB, free: 22.36 MB / 0.823 GB (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)