Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_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.1-maint.8.0.x/package.mo): time 1.341/1.341, allocations: 285.5 MB / 292.8 MB, free: 0.7109 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009898/0.0009897, allocations: 182.3 kB / 361.1 MB, free: 15.24 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.045/1.045, allocations: 205.1 MB / 0.6195 GB, free: 5.832 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008424/0.0008424, allocations: 92.86 kB / 0.7325 GB, free: 47.16 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.188/0.1888, allocations: 121.5 MB / 0.8512 GB, free: 12.64 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4914/0.6802, allocations: 115.3 MB / 0.9638 GB, free: 85.71 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.8286, allocations: 140.6 MB / 1.101 GB, free: 8.859 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.8289, allocations: 100.1 kB / 1.101 GB, free: 8.766 MB / 0.7059 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.03403/0.8629, allocations: 13 MB / 1.114 GB, free: 11.79 MB / 0.7215 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.863, allocations: 8.75 kB / 1.114 GB, free: 11.79 MB / 0.7215 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.8631, allocations: 7.984 kB / 1.114 GB, free: 11.78 MB / 0.7215 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.8633, allocations: 182.9 kB / 1.114 GB, free: 11.56 MB / 0.7215 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.8633, allocations: 6 kB / 1.114 GB, free: 11.55 MB / 0.7215 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.8633, allocations: 4 kB / 1.114 GB, free: 11.55 MB / 0.7215 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001389/0.8635, allocations: 59.95 kB / 1.114 GB, free: 11.49 MB / 0.7215 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.8637, allocations: 122.4 kB / 1.114 GB, free: 11.37 MB / 0.7215 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.8637, allocations: 7.938 kB / 1.114 GB, free: 11.36 MB / 0.7215 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.8637, allocations: 3.906 kB / 1.114 GB, free: 11.36 MB / 0.7215 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.8637, allocations: 4 kB / 1.114 GB, free: 11.35 MB / 0.7215 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.8639, allocations: 138.3 kB / 1.114 GB, free: 11.18 MB / 0.7215 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.864, allocations: 106.5 kB / 1.115 GB, free: 11.07 MB / 0.7215 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.8641, allocations: 104.9 kB / 1.115 GB, free: 10.96 MB / 0.7215 GB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-06/0.8641, allocations: 0 / 1.115 GB, free: 10.96 MB / 0.7215 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.8642, allocations: 34.56 kB / 1.115 GB, free: 10.92 MB / 0.7215 GB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.8642, allocations: 1.031 kB / 1.115 GB, free: 10.92 MB / 0.7215 GB Notification: Performance of matching and sorting (n=6): time 0.0005165/0.8647, allocations: 193.5 kB / 1.115 GB, free: 10.72 MB / 0.7215 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.8648, allocations: 93.05 kB / 1.115 GB, free: 10.61 MB / 0.7215 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.8649, allocations: 117.7 kB / 1.115 GB, free: 10.49 MB / 0.7215 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.8649, allocations: 29.7 kB / 1.115 GB, free: 10.46 MB / 0.7215 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.8649, allocations: 80.14 kB / 1.115 GB, free: 10.38 MB / 0.7215 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.865, allocations: 23.75 kB / 1.115 GB, free: 10.35 MB / 0.7215 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.865, allocations: 0 / 1.115 GB, free: 10.35 MB / 0.7215 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8651, allocations: 322.9 kB / 1.115 GB, free: 10.03 MB / 0.7215 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.171e-05/0.8652, allocations: 55.95 kB / 1.116 GB, free: 9.973 MB / 0.7215 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.8653, allocations: 60.91 kB / 1.116 GB, free: 9.914 MB / 0.7215 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.8655, allocations: 73.73 kB / 1.116 GB, free: 9.844 MB / 0.7215 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8655, allocations: 0 / 1.116 GB, free: 9.844 MB / 0.7215 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000386/0.8659, allocations: 197.5 kB / 1.116 GB, free: 9.645 MB / 0.7215 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.8659, allocations: 4 kB / 1.116 GB, free: 9.641 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.866, allocations: 0 / 1.116 GB, free: 9.641 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.866, allocations: 0 / 1.116 GB, free: 9.641 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.866, allocations: 4.062 kB / 1.116 GB, free: 9.637 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.866, allocations: 6.812 kB / 1.116 GB, free: 9.633 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.8662, allocations: 15.89 kB / 1.116 GB, free: 9.617 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.8663, allocations: 16.78 kB / 1.116 GB, free: 9.602 MB / 0.7215 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.0001545/0.8664, allocations: 158.4 kB / 1.116 GB, free: 9.434 MB / 0.7215 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.8665, allocations: 11.91 kB / 1.116 GB, free: 9.422 MB / 0.7215 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.731e-05/0.8665, allocations: 4.375 kB / 1.116 GB, free: 9.418 MB / 0.7215 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.8665, allocations: 7.906 kB / 1.116 GB, free: 9.41 MB / 0.7215 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8665, allocations: 4 kB / 1.116 GB, free: 9.406 MB / 0.7215 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8665, allocations: 0 / 1.116 GB, free: 9.406 MB / 0.7215 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.8666, allocations: 148 kB / 1.116 GB, free: 9.227 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.8666, allocations: 0 / 1.116 GB, free: 9.227 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.8667, allocations: 0.9375 kB / 1.116 GB, free: 9.227 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.8667, allocations: 0 / 1.116 GB, free: 9.227 MB / 0.7215 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.8667, allocations: 15.98 kB / 1.116 GB, free: 9.211 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.8667, allocations: 7.906 kB / 1.116 GB, free: 9.203 MB / 0.7215 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.8667, allocations: 0 / 1.116 GB, free: 9.203 MB / 0.7215 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004488/0.8672, allocations: 240.9 kB / 1.116 GB, free: 8.949 MB / 0.7215 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006003/0.8678, allocations: 0.62 MB / 1.117 GB, free: 8.309 MB / 0.7215 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.8678, allocations: 89 kB / 1.117 GB, free: 8.203 MB / 0.7215 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.8679, allocations: 11.98 kB / 1.117 GB, free: 8.191 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.8681, allocations: 16 kB / 1.117 GB, free: 8.176 MB / 0.7215 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.8681, allocations: 12.83 kB / 1.117 GB, free: 8.164 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.8682, allocations: 19.89 kB / 1.117 GB, free: 8.145 MB / 0.7215 GB Notification: Performance of sort global known variables: time 4.673e-05/0.8682, allocations: 97.89 kB / 1.117 GB, free: 8.051 MB / 0.7215 GB Notification: Performance of remove unused functions: time 0.0009901/0.8692, allocations: 111.9 kB / 1.117 GB, free: 7.941 MB / 0.7215 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.1-maint.8.0.x/Obsolete/Utilities/IO/Python27/Functions/BaseClasses/exchange.mo:2:1-72:13:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/libpython2.7.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Obsolete/Utilities/IO/Python27/Functions/BaseClasses/PythonObject.mo:5:5-37:20:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/libpython2.7.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Obsolete/Utilities/IO/Python27/Functions/BaseClasses/PythonObject.mo:39:3-60:17:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Resources/Library/libpython2.7.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0008785/0.8701, allocations: 433.1 kB / 1.118 GB, free: 7.621 MB / 0.7215 GB Notification: Performance of simCode: created initialization part: time 0.0002882/0.8704, allocations: 205.6 kB / 1.118 GB, free: 7.414 MB / 0.7215 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.8704, allocations: 0 / 1.118 GB, free: 7.414 MB / 0.7215 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.8706, allocations: 189.6 kB / 1.118 GB, free: 7.223 MB / 0.7215 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.8707, allocations: 4 kB / 1.118 GB, free: 7.219 MB / 0.7215 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009547/0.8717, allocations: 487.9 kB / 1.119 GB, free: 6.719 MB / 0.7215 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.8719, allocations: 0.702 MB / 1.119 GB, free: 5.992 MB / 0.7215 GB Notification: Performance of SimCode: time 2.31e-07/0.8719, allocations: 0 / 1.119 GB, free: 5.992 MB / 0.7215 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)