Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.54/2.54, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001632/0.001632, allocations: 181.2 kB / 360.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001219/0.001218, allocations: 89.25 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3085/0.3097, allocations: 121.4 MB / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6831/0.9929, allocations: 115.2 MB / 0.9628 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2638/1.257, allocations: 140.5 MB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000368/1.257, allocations: 93 kB / 1.1 GB, free: 308 kB / 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.07142/1.329, allocations: 13 MB / 1.113 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.655e-05/1.329, allocations: 12.83 kB / 1.113 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/1.329, allocations: 12 kB / 1.113 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/1.329, allocations: 175 kB / 1.113 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/1.329, allocations: 4 kB / 1.113 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/1.329, allocations: 8 kB / 1.113 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002068/1.329, allocations: 55.95 kB / 1.113 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/1.33, allocations: 121.6 kB / 1.113 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.33, allocations: 0 / 1.113 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/1.33, allocations: 7.906 kB / 1.113 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/1.33, allocations: 0.75 kB / 1.113 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/1.33, allocations: 138.2 kB / 1.113 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/1.33, allocations: 114.6 kB / 1.113 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/1.33, allocations: 104.8 kB / 1.113 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-06/1.33, allocations: 0 / 1.113 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/1.331, allocations: 36.25 kB / 1.113 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/1.331, allocations: 0 / 1.113 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0007956/1.331, allocations: 193.5 kB / 1.114 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/1.331, allocations: 89.75 kB / 1.114 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/1.332, allocations: 122.7 kB / 1.114 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/1.332, allocations: 29.73 kB / 1.114 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/1.332, allocations: 84.14 kB / 1.114 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.167e-05/1.332, allocations: 20.78 kB / 1.114 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/1.332, allocations: 4 kB / 1.114 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.332, allocations: 314.8 kB / 1.114 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/1.332, allocations: 63.95 kB / 1.114 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/1.332, allocations: 51.97 kB / 1.114 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/1.333, allocations: 71.92 kB / 1.114 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.333, allocations: 0 / 1.114 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007004/1.333, allocations: 197.5 kB / 1.115 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.333, allocations: 5.562 kB / 1.115 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.333, allocations: 4 kB / 1.115 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.334, allocations: 0 / 1.115 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.562e-06/1.334, allocations: 1.031 kB / 1.115 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/1.334, allocations: 1.125 kB / 1.115 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/1.334, allocations: 19.89 kB / 1.115 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/1.334, allocations: 11.98 kB / 1.115 GB, free: 1.176 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.0002415/1.334, allocations: 159.3 kB / 1.115 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/1.334, allocations: 15.84 kB / 1.115 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/1.334, allocations: 12.31 kB / 1.115 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/1.334, allocations: 7.891 kB / 1.115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/1.334, allocations: 0 / 1.115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.334, allocations: 0 / 1.115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/1.335, allocations: 146.2 kB / 1.115 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.335, allocations: 2.625 kB / 1.115 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-06/1.335, allocations: 4 kB / 1.115 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.335, allocations: 4 kB / 1.115 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/1.335, allocations: 15.98 kB / 1.115 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/1.335, allocations: 3.906 kB / 1.115 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.335, allocations: 0 / 1.115 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008261/1.336, allocations: 240.9 kB / 1.115 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009472/1.337, allocations: 0.6206 MB / 1.116 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/1.337, allocations: 93 kB / 1.116 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/1.337, allocations: 7.984 kB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004189/1.337, allocations: 16.83 kB / 1.116 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/1.337, allocations: 8 kB / 1.116 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/1.337, allocations: 19.89 kB / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.35e-05/1.337, allocations: 92.39 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001504/1.339, allocations: 115.8 kB / 1.116 GB, free: 15.51 MB / 0.7292 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/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.0/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/Library/libpython2.7.so Notification: Performance of Backend phase and start with SimCode phase: time 0.001228/1.34, allocations: 419.8 kB / 1.117 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005784/1.341, allocations: 213.5 kB / 1.117 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.341, allocations: 0 / 1.117 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003389/1.341, allocations: 181.6 kB / 1.117 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/1.341, allocations: 8.125 kB / 1.117 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/1.343, allocations: 489.8 kB / 1.117 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/1.343, allocations: 0.6958 MB / 1.118 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of SimCode: time 1.162e-06/1.343, allocations: 0 / 1.118 GB, free: 13.6 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_Exchange.fmu > Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)