Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.69/2.69, allocations: 284.8 MB / 292.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 177.3 kB / 360.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.1 MB / 0.6187 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001243/0.001242, allocations: 93.75 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2823/0.2836, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6136/0.8973, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2215/1.119, allocations: 140 MB / 1.099 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/1.119, allocations: 85.3 kB / 1.1 GB, free: 0.7305 MB / 0.698 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.05751/1.177, allocations: 12.34 MB / 1.112 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.177, allocations: 8.5 kB / 1.112 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/1.177, allocations: 8.844 kB / 1.112 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/1.177, allocations: 182.9 kB / 1.112 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/1.177, allocations: 4 kB / 1.112 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/1.177, allocations: 4 kB / 1.112 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002064/1.177, allocations: 59.95 kB / 1.112 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/1.178, allocations: 118.7 kB / 1.112 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.178, allocations: 0 / 1.112 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/1.178, allocations: 7.906 kB / 1.112 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/1.178, allocations: 0 / 1.112 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/1.178, allocations: 139 kB / 1.112 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/1.178, allocations: 118.6 kB / 1.112 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/1.178, allocations: 100.8 kB / 1.112 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/1.178, allocations: 0 / 1.112 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/1.178, allocations: 34.56 kB / 1.112 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/1.178, allocations: 0 / 1.112 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.000804/1.179, allocations: 195.7 kB / 1.113 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.532e-05/1.179, allocations: 85.11 kB / 1.113 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/1.18, allocations: 127.5 kB / 1.113 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/1.18, allocations: 25.7 kB / 1.113 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/1.18, allocations: 88.12 kB / 1.113 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/1.18, allocations: 19.75 kB / 1.113 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/1.18, allocations: 0 / 1.113 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.18, allocations: 319.5 kB / 1.113 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/1.18, allocations: 55.95 kB / 1.113 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/1.18, allocations: 59.95 kB / 1.113 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/1.181, allocations: 83.89 kB / 1.113 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/1.181, allocations: 0 / 1.113 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007121/1.181, allocations: 185.5 kB / 1.114 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/1.182, allocations: 4.938 kB / 1.114 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.182, allocations: 1.031 kB / 1.114 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/1.182, allocations: 0 / 1.114 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/1.182, allocations: 4 kB / 1.114 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/1.182, allocations: 3.984 kB / 1.114 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/1.182, allocations: 11.91 kB / 1.114 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.499e-05/1.182, allocations: 24.02 kB / 1.114 GB, free: 2.27 MB / 0.7136 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.0002342/1.182, allocations: 154.4 kB / 1.114 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/1.182, allocations: 11.91 kB / 1.114 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/1.182, allocations: 12.36 kB / 1.114 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/1.183, allocations: 7.891 kB / 1.114 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/1.183, allocations: 0 / 1.114 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.183, allocations: 1.219 kB / 1.114 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/1.183, allocations: 151.7 kB / 1.114 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.183, allocations: 0 / 1.114 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-06/1.183, allocations: 7.984 kB / 1.114 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.183, allocations: 0 / 1.114 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/1.183, allocations: 15.94 kB / 1.114 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/1.183, allocations: 3.906 kB / 1.114 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.183, allocations: 3.938 kB / 1.114 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008079/1.184, allocations: 246.6 kB / 1.114 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009554/1.185, allocations: 0.6146 MB / 1.115 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-05/1.185, allocations: 89 kB / 1.115 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/1.185, allocations: 8 kB / 1.115 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/1.185, allocations: 11.98 kB / 1.115 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/1.185, allocations: 16.73 kB / 1.115 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-05/1.185, allocations: 15.91 kB / 1.115 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.479e-05/1.185, allocations: 100.9 kB / 1.115 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001627/1.187, allocations: 119.9 kB / 1.115 GB, free: 0.5938 MB / 0.7136 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 8.0.0/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 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.001264/1.188, allocations: 418.7 kB / 1.116 GB, free: 324 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005673/1.189, allocations: 213.3 kB / 1.116 GB, free: 108 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.189, allocations: 0 / 1.116 GB, free: 108 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003515/1.189, allocations: 189.6 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/1.19, allocations: 8.406 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/1.191, allocations: 456.3 kB / 1.116 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004767/1.192, allocations: 0.6997 MB / 1.117 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of SimCode: time 1.453e-06/1.192, allocations: 0 / 1.117 GB, free: 14.72 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.fmu > Buildings_8.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)