Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.Exchange,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.989/1.989, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001222/0.001222, allocations: 189.2 kB / 487 MB, free: 5.32 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.341/1.341, allocations: 221.3 MB / 0.7819 GB, free: 1.41 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.0009718/0.0009721, allocations: 89.56 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5309/0.5319, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.7672, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6354/1.403, allocations: 151 MB / 1.353 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/1.403, allocations: 82.5 kB / 1.353 GB, free: 15.92 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.03369/1.437, allocations: 11.66 MB / 1.364 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.437, allocations: 8 kB / 1.364 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.046e-05/1.437, allocations: 79.28 kB / 1.364 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/1.437, allocations: 261.4 kB / 1.365 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/1.437, allocations: 150.6 kB / 1.365 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/1.437, allocations: 158.6 kB / 1.365 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.528e-05/1.437, allocations: 150.6 kB / 1.365 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.679e-05/1.437, allocations: 105 kB / 1.365 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/1.437, allocations: 75.28 kB / 1.365 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/1.437, allocations: 150.6 kB / 1.365 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/1.437, allocations: 158.5 kB / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/1.437, allocations: 453.3 kB / 1.366 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.658e-05/1.437, allocations: 176.8 kB / 1.366 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/1.437, allocations: 84.08 kB / 1.366 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/1.438, allocations: 75.28 kB / 1.366 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/1.438, allocations: 109.8 kB / 1.366 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/1.438, allocations: 0 / 1.366 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 8.929e-05/1.438, allocations: 45.55 kB / 1.366 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.332e-05/1.438, allocations: 51.41 kB / 1.366 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/1.438, allocations: 135 kB / 1.367 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/1.438, allocations: 25.7 kB / 1.367 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/1.438, allocations: 91.81 kB / 1.367 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-06/1.438, allocations: 0 / 1.367 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/1.438, allocations: 4 kB / 1.367 GB, free: 10 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.443e-05/1.438, allocations: 318.8 kB / 1.367 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/1.438, allocations: 62.89 kB / 1.367 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/1.438, allocations: 61.77 kB / 1.367 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/1.438, allocations: 63.19 kB / 1.367 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.438, allocations: 0 / 1.367 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004117/1.439, allocations: 186 kB / 1.367 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.439, allocations: 4 kB / 1.367 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/1.439, allocations: 0 / 1.367 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.439, allocations: 11.89 kB / 1.367 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/1.439, allocations: 0 / 1.367 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/1.439, allocations: 0 / 1.367 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/1.439, allocations: 23.95 kB / 1.367 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/1.439, allocations: 8 kB / 1.367 GB, free: 9.309 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: 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 9.594e-05/1.439, allocations: 196.5 kB / 1.368 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/1.439, allocations: 112.9 kB / 1.368 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/1.439, allocations: 104.5 kB / 1.368 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/1.439, allocations: 188.2 kB / 1.368 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-05/1.439, allocations: 179.6 kB / 1.368 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.548e-05/1.439, allocations: 176.3 kB / 1.368 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/1.44, allocations: 400.9 kB / 1.369 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/1.44, allocations: 101 kB / 1.369 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/1.44, allocations: 101 kB / 1.369 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-05/1.44, allocations: 189.6 kB / 1.369 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/1.44, allocations: 183.5 kB / 1.369 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.396e-05/1.44, allocations: 176.3 kB / 1.369 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.298e-05/1.44, allocations: 184.2 kB / 1.37 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.573e-05/1.44, allocations: 311 kB / 1.37 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002504/1.44, allocations: 0.6787 MB / 1.37 GB, free: 21.93 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.92e-05/1.44, allocations: 190.3 kB / 1.371 GB, free: 21.72 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.963e-05/1.44, allocations: 188.1 kB / 1.371 GB, free: 21.53 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.066e-05/1.44, allocations: 105 kB / 1.371 GB, free: 21.42 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/1.44, allocations: 188.2 kB / 1.371 GB, free: 21.23 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/1.441, allocations: 108.9 kB / 1.371 GB, free: 21.11 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.321e-05/1.441, allocations: 106.1 kB / 1.371 GB, free: 21.02 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001134/1.442, allocations: 90.45 kB / 1.371 GB, free: 20.94 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.0006666/1.442, allocations: 436.5 kB / 1.372 GB, free: 20.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002308/1.443, allocations: 139.2 kB / 1.372 GB, free: 20.49 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/1.443, allocations: 0 / 1.372 GB, free: 20.49 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/1.443, allocations: 4 kB / 1.372 GB, free: 20.49 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/1.443, allocations: 0.5299 MB / 1.372 GB, free: 19.96 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/1.443, allocations: 166.8 kB / 1.373 GB, free: 19.77 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/1.444, allocations: 0.6993 MB / 1.373 GB, free: 19.05 MB / 0.823 GB Notification: Performance of SimCode: time 2.6e-07/1.444, allocations: 0 / 1.373 GB, free: 19.05 MB / 0.823 GB (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1)