Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.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.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Obsolete_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 10.0.0-master/package.mo): time 1.878/1.878, allocations: 390.4 MB / 397.7 MB, free: 1.918 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 183.6 kB / 490.8 MB, free: 7.527 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 221.4 MB / 0.7863 GB, free: 240 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009324/0.0009324, allocations: 99.16 kB / 0.9264 GB, free: 0.6211 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 0.3955/0.3965, allocations: 149.1 MB / 1.072 GB, free: 137.4 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.5883, allocations: 143 MB / 1.212 GB, free: 10.46 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.537/1.125, allocations: 152.3 MB / 1.36 GB, free: 9.641 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/1.126, allocations: 91.92 kB / 1.361 GB, free: 9.551 MB / 0.8311 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.03239/1.158, allocations: 12.29 MB / 1.372 GB, free: 13.2 MB / 0.8467 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.158, allocations: 8 kB / 1.373 GB, free: 13.2 MB / 0.8467 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.983e-05/1.158, allocations: 87.19 kB / 1.373 GB, free: 13.11 MB / 0.8467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/1.158, allocations: 258.2 kB / 1.373 GB, free: 12.82 MB / 0.8467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.398e-05/1.158, allocations: 150.6 kB / 1.373 GB, free: 12.67 MB / 0.8467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/1.159, allocations: 154.6 kB / 1.373 GB, free: 12.52 MB / 0.8467 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.721e-05/1.159, allocations: 158.6 kB / 1.373 GB, free: 12.36 MB / 0.8467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.898e-05/1.159, allocations: 105 kB / 1.373 GB, free: 12.25 MB / 0.8467 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/1.159, allocations: 75.28 kB / 1.373 GB, free: 12.18 MB / 0.8467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/1.159, allocations: 154.5 kB / 1.374 GB, free: 12.02 MB / 0.8467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.618e-05/1.159, allocations: 150.6 kB / 1.374 GB, free: 11.88 MB / 0.8467 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/1.159, allocations: 462.3 kB / 1.374 GB, free: 11.39 MB / 0.8467 GB Notification: Performance of preOpt comSubExp (simulation): time 7.355e-05/1.159, allocations: 165.1 kB / 1.374 GB, free: 11.21 MB / 0.8467 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.96e-05/1.159, allocations: 80.14 kB / 1.374 GB, free: 11.13 MB / 0.8467 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/1.159, allocations: 75.28 kB / 1.374 GB, free: 11.06 MB / 0.8467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/1.159, allocations: 121.8 kB / 1.375 GB, free: 10.93 MB / 0.8467 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/1.159, allocations: 0 / 1.375 GB, free: 10.93 MB / 0.8467 GB Notification: Performance of matching and sorting (n=0): time 8.55e-05/1.159, allocations: 37.55 kB / 1.375 GB, free: 10.89 MB / 0.8467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/1.159, allocations: 55.34 kB / 1.375 GB, free: 10.82 MB / 0.8467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/1.16, allocations: 132.8 kB / 1.375 GB, free: 10.68 MB / 0.8467 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/1.16, allocations: 29.7 kB / 1.375 GB, free: 10.65 MB / 0.8467 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/1.16, allocations: 88.14 kB / 1.375 GB, free: 10.56 MB / 0.8467 GB Notification: Performance of collectInitialBindings (initialization): time 1.182e-06/1.16, allocations: 0 / 1.375 GB, free: 10.56 MB / 0.8467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/1.16, allocations: 4 kB / 1.375 GB, free: 10.55 MB / 0.8467 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.16, allocations: 322.8 kB / 1.375 GB, free: 10.23 MB / 0.8467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.483e-05/1.16, allocations: 55.97 kB / 1.375 GB, free: 10.18 MB / 0.8467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/1.16, allocations: 55.95 kB / 1.375 GB, free: 10.12 MB / 0.8467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/1.16, allocations: 67.94 kB / 1.375 GB, free: 10.05 MB / 0.8467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.16, allocations: 3.906 kB / 1.375 GB, free: 10.05 MB / 0.8467 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004189/1.161, allocations: 189.6 kB / 1.376 GB, free: 9.859 MB / 0.8467 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/1.161, allocations: 4 kB / 1.376 GB, free: 9.855 MB / 0.8467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/1.161, allocations: 0 / 1.376 GB, free: 9.855 MB / 0.8467 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/1.161, allocations: 0 / 1.376 GB, free: 9.855 MB / 0.8467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/1.161, allocations: 4 kB / 1.376 GB, free: 9.852 MB / 0.8467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/1.161, allocations: 11.97 kB / 1.376 GB, free: 9.84 MB / 0.8467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/1.161, allocations: 15.98 kB / 1.376 GB, free: 9.824 MB / 0.8467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/1.161, allocations: 19.98 kB / 1.376 GB, free: 9.805 MB / 0.8467 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.0001162/1.161, allocations: 184.2 kB / 1.376 GB, free: 9.617 MB / 0.8467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/1.161, allocations: 108.8 kB / 1.376 GB, free: 9.504 MB / 0.8467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/1.161, allocations: 116.4 kB / 1.376 GB, free: 9.387 MB / 0.8467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.304e-05/1.161, allocations: 180.2 kB / 1.376 GB, free: 9.203 MB / 0.8467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.862e-05/1.161, allocations: 176.3 kB / 1.376 GB, free: 9.023 MB / 0.8467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.946e-05/1.162, allocations: 184.3 kB / 1.377 GB, free: 8.836 MB / 0.8467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/1.162, allocations: 393.8 kB / 1.377 GB, free: 8.406 MB / 0.8467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.633e-05/1.162, allocations: 108.9 kB / 1.377 GB, free: 8.293 MB / 0.8467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.082e-05/1.162, allocations: 109 kB / 1.377 GB, free: 8.18 MB / 0.8467 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-05/1.162, allocations: 181.5 kB / 1.377 GB, free: 7.996 MB / 0.8467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/1.162, allocations: 176.3 kB / 1.377 GB, free: 7.816 MB / 0.8467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.83e-05/1.162, allocations: 180.3 kB / 1.378 GB, free: 7.633 MB / 0.8467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.102e-05/1.162, allocations: 180.2 kB / 1.378 GB, free: 7.449 MB / 0.8467 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001288/1.162, allocations: 311.7 kB / 1.378 GB, free: 7.121 MB / 0.8467 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002508/1.162, allocations: 0.6799 MB / 1.379 GB, free: 6.414 MB / 0.8467 GB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/1.163, allocations: 190.1 kB / 1.379 GB, free: 6.203 MB / 0.8467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/1.163, allocations: 196.1 kB / 1.379 GB, free: 6.004 MB / 0.8467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/1.163, allocations: 101 kB / 1.379 GB, free: 5.898 MB / 0.8467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/1.163, allocations: 176.3 kB / 1.379 GB, free: 5.719 MB / 0.8467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/1.163, allocations: 104.9 kB / 1.38 GB, free: 5.609 MB / 0.8467 GB Notification: Performance of sort global known variables: time 5.841e-05/1.163, allocations: 107.2 kB / 1.38 GB, free: 5.504 MB / 0.8467 GB Notification: Performance of remove unused functions: time 0.0009479/1.164, allocations: 99.84 kB / 1.38 GB, free: 5.406 MB / 0.8467 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/Obsolete/Utilities/IO/Python36/Functions/BaseClasses/exchange.mo:2:1-85: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 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Obsolete/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:5:5-50: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 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Obsolete/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:52:3-82: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 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0006908/1.165, allocations: 438.9 kB / 1.38 GB, free: 5.039 MB / 0.8467 GB Notification: Performance of simCode: created initialization part: time 0.000197/1.165, allocations: 133.7 kB / 1.38 GB, free: 4.902 MB / 0.8467 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/1.165, allocations: 0 / 1.38 GB, free: 4.902 MB / 0.8467 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/1.165, allocations: 3.938 kB / 1.38 GB, free: 4.898 MB / 0.8467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/1.165, allocations: 0.5262 MB / 1.381 GB, free: 4.367 MB / 0.8467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/1.165, allocations: 179 kB / 1.381 GB, free: 4.168 MB / 0.8467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/1.166, allocations: 0.6958 MB / 1.382 GB, free: 3.445 MB / 0.8467 GB Notification: Performance of SimCode: time 2.7e-07/1.166, allocations: 0 / 1.382 GB, free: 3.445 MB / 0.8467 GB (rm -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_Exchange.fmu > Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)