Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange") [: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 3.0.0/package.mo): time 0.7555/0.7555, allocations: 132.4 MB / 139.7 MB, free: 15.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001221/0.001222, allocations: 171.3 kB / 171.6 MB, free: 1.973 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.536/1.536, allocations: 170.5 MB / 373.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001836/0.001836, allocations: 118.3 kB / 444.4 MB, free: 9.375 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4491/0.4492, allocations: 73.39 MB / 0.666 GB, free: 62.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.5799, allocations: 102.3 MB / 0.7659 GB, free: 1.949 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.5802, allocations: 85.06 kB / 0.766 GB, free: 1.867 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.02097/0.6012, allocations: 8.23 MB / 0.7741 GB, free: 9.699 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.515e-06/0.6013, allocations: 0 / 0.7741 GB, free: 9.699 MB / 490.7 MB 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.000419/0.6017, allocations: 380.2 kB / 0.7744 GB, free: 9.277 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.6017, allocations: 8.031 kB / 0.7744 GB, free: 9.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.6018, allocations: 6.031 kB / 0.7744 GB, free: 9.266 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.6019, allocations: 159.1 kB / 0.7746 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.6019, allocations: 7.906 kB / 0.7746 GB, free: 9.062 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.602, allocations: 4 kB / 0.7746 GB, free: 9.059 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001274/0.6021, allocations: 44.59 kB / 0.7746 GB, free: 9.016 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.6023, allocations: 97.56 kB / 0.7747 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.6023, allocations: 0 / 0.7747 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.6023, allocations: 4 kB / 0.7747 GB, free: 8.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6023, allocations: 0 / 0.7747 GB, free: 8.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.6025, allocations: 138.1 kB / 0.7749 GB, free: 8.742 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.6026, allocations: 82.55 kB / 0.775 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/0.6027, allocations: 68.92 kB / 0.775 GB, free: 8.582 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.6027, allocations: 4 kB / 0.775 GB, free: 8.578 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.6028, allocations: 34.56 kB / 0.7751 GB, free: 8.535 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.6028, allocations: 0 / 0.7751 GB, free: 8.535 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004672/0.6033, allocations: 133.6 kB / 0.7752 GB, free: 8.398 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.6034, allocations: 85.09 kB / 0.7753 GB, free: 8.297 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.86e-05/0.6034, allocations: 89 kB / 0.7753 GB, free: 8.203 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.6035, allocations: 25.7 kB / 0.7754 GB, free: 8.172 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.6035, allocations: 80.14 kB / 0.7754 GB, free: 8.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.6036, allocations: 23.78 kB / 0.7755 GB, free: 8.066 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.6036, allocations: 4 kB / 0.7755 GB, free: 8.062 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.6037, allocations: 322.7 kB / 0.7758 GB, free: 7.738 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.836e-05/0.6038, allocations: 31.98 kB / 0.7758 GB, free: 7.707 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.946e-05/0.6039, allocations: 43.97 kB / 0.7759 GB, free: 7.664 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.604, allocations: 43.95 kB / 0.7759 GB, free: 7.621 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.604, allocations: 0 / 0.7759 GB, free: 7.621 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000291/0.6043, allocations: 134.3 kB / 0.776 GB, free: 7.484 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.6044, allocations: 4 kB / 0.776 GB, free: 7.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.6044, allocations: 8.047 kB / 0.776 GB, free: 7.473 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.6044, allocations: 0 / 0.776 GB, free: 7.473 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/0.6044, allocations: 3.938 kB / 0.776 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.6044, allocations: 5.406 kB / 0.776 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.6046, allocations: 13.03 kB / 0.7761 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.6047, allocations: 11.98 kB / 0.7761 GB, free: 7.441 MB / 490.7 MB 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.0001342/0.6048, allocations: 147.6 kB / 0.7762 GB, free: 7.285 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.6048, allocations: 7.094 kB / 0.7762 GB, free: 7.281 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.445e-05/0.6048, allocations: 11.81 kB / 0.7762 GB, free: 7.273 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.6049, allocations: 4 kB / 0.7762 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6049, allocations: 0 / 0.7762 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6049, allocations: 0 / 0.7762 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.605, allocations: 134.2 kB / 0.7764 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.605, allocations: 0 / 0.7764 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-06/0.605, allocations: 4.688 kB / 0.7764 GB, free: 7.098 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.605, allocations: 0 / 0.7764 GB, free: 7.098 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.605, allocations: 15.89 kB / 0.7764 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6051, allocations: 0 / 0.7764 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6051, allocations: 0 / 0.7764 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003614/0.6054, allocations: 194.3 kB / 0.7766 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.6055, allocations: 81.02 kB / 0.7766 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.6055, allocations: 4 kB / 0.7766 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.6057, allocations: 11.98 kB / 0.7767 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.6057, allocations: 11.97 kB / 0.7767 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.6058, allocations: 12 kB / 0.7767 GB, free: 6.738 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.887e-05/0.6058, allocations: 79.31 kB / 0.7768 GB, free: 6.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.6061, allocations: 55.92 kB / 0.7768 GB, free: 6.605 MB / 490.7 MB 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 3.0.0/Utilities/IO/Python27/Functions/BaseClasses/exchange.mo:2:1-59:13:writable] Warning: Could not find library python2.7 in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 3.0.0/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Resources/Library/libpython2.7.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0005993/0.6067, allocations: 209.6 kB / 0.777 GB, free: 6.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.607, allocations: 149.6 kB / 0.7772 GB, free: 6.277 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.607, allocations: 0 / 0.7772 GB, free: 6.277 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.6071, allocations: 149.7 kB / 0.7773 GB, free: 6.125 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001073/0.6073, allocations: 4 kB / 0.7773 GB, free: 6.121 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.6075, allocations: 123.8 kB / 0.7774 GB, free: 5.977 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.6078, allocations: 0.692 MB / 0.7781 GB, free: 5.258 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6078, allocations: 3.938 kB / 0.7781 GB, free: 5.254 MB / 490.7 MB Notification: Performance of Templates: time 0.005426/0.6133, allocations: 2.328 MB / 0.7804 GB, free: 2.984 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)