Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_IO_Python36_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 7.0.1/package.mo): time 2.429/2.429, allocations: 248.6 MB / 255.9 MB, free: 332 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002532/0.002532, allocations: 181.3 kB / 315.1 MB, free: 7.758 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.296/2.296, allocations: 205.1 MB / 0.5658 GB, free: 25.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002757/0.002756, allocations: 101.5 kB / 0.67 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3087/0.3115, allocations: 112.4 MB / 0.7797 GB, free: 2.445 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5975/0.909, allocations: 106.2 MB / 0.8835 GB, free: 77.25 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2651/1.174, allocations: 133.7 MB / 1.014 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004656/1.175, allocations: 87.94 kB / 1.014 GB, free: 7.266 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.07088/1.246, allocations: 12.34 MB / 1.026 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/1.246, allocations: 8 kB / 1.026 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/1.246, allocations: 11.91 kB / 1.026 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/1.246, allocations: 175 kB / 1.026 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/1.246, allocations: 3.906 kB / 1.026 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/1.246, allocations: 15.94 kB / 1.026 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000295/1.247, allocations: 55.95 kB / 1.026 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/1.247, allocations: 125.5 kB / 1.027 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.247, allocations: 0 / 1.027 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/1.247, allocations: 4 kB / 1.027 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/1.247, allocations: 0 / 1.027 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/1.247, allocations: 138.2 kB / 1.027 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/1.248, allocations: 118.5 kB / 1.027 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/1.248, allocations: 100.9 kB / 1.027 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/1.248, allocations: 0 / 1.027 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/1.248, allocations: 38.5 kB / 1.027 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 2.474e-06/1.248, allocations: 0 / 1.027 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.001112/1.249, allocations: 189.6 kB / 1.027 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.321e-05/1.249, allocations: 93 kB / 1.027 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/1.249, allocations: 116.9 kB / 1.027 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/1.25, allocations: 25.7 kB / 1.027 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/1.25, allocations: 88.17 kB / 1.027 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.105e-05/1.25, allocations: 15.81 kB / 1.027 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/1.25, allocations: 4 kB / 1.027 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002442/1.25, allocations: 322.7 kB / 1.028 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/1.25, allocations: 63.89 kB / 1.028 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/1.251, allocations: 51.97 kB / 1.028 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/1.251, allocations: 75.92 kB / 1.028 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.251, allocations: 0 / 1.028 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007183/1.252, allocations: 189.6 kB / 1.028 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.252, allocations: 8 kB / 1.028 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.252, allocations: 7.906 kB / 1.028 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/1.252, allocations: 0 / 1.028 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.462e-06/1.252, allocations: 0 / 1.028 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.252, allocations: 64 / 1.028 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/1.252, allocations: 19.98 kB / 1.028 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.069e-05/1.253, allocations: 12 kB / 1.028 GB, free: 8.656 MB / 0.6823 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.0002337/1.253, allocations: 158.6 kB / 1.028 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/1.253, allocations: 11.91 kB / 1.028 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/1.253, allocations: 8.75 kB / 1.028 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/1.253, allocations: 0 / 1.028 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.253, allocations: 0 / 1.028 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/1.253, allocations: 0 / 1.028 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/1.253, allocations: 162 kB / 1.028 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.253, allocations: 0 / 1.028 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-06/1.253, allocations: 4 kB / 1.028 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/1.253, allocations: 0 / 1.028 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/1.253, allocations: 15.98 kB / 1.029 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.253, allocations: 0 / 1.029 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.253, allocations: 0 / 1.029 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008374/1.254, allocations: 244.8 kB / 1.029 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009815/1.255, allocations: 0.6145 MB / 1.029 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/1.255, allocations: 101 kB / 1.029 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.408e-05/1.255, allocations: 7.984 kB / 1.029 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006115/1.256, allocations: 12 kB / 1.029 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/1.256, allocations: 11.98 kB / 1.029 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.256, allocations: 15.98 kB / 1.029 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001428/1.256, allocations: 91.27 kB / 1.03 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002905/1.259, allocations: 112 kB / 1.03 GB, free: 6.996 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Utilities/IO/Python36/Functions/BaseClasses/exchange.mo:2:1-81:13:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:5:5-46:20:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:48:3-78:17:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.002138/1.261, allocations: 445.5 kB / 1.03 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008477/1.262, allocations: 201.6 kB / 1.03 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.262, allocations: 4 kB / 1.03 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005686/1.263, allocations: 181.6 kB / 1.03 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/1.263, allocations: 10.41 kB / 1.03 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/1.266, allocations: 463.1 kB / 1.031 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/1.266, allocations: 0.6997 MB / 1.032 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of SimCode: time 2.034e-06/1.266, allocations: 0 / 1.032 GB, free: 5.047 MB / 0.6823 GB