Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Obsolete.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.081/2.081, allocations: 253.1 MB / 260.4 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 185.2 kB / 319.6 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001887/0.001887, allocations: 86.72 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.037e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2126, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6419/0.8546, allocations: 135.2 MB / 1.02 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.855, allocations: 89 kB / 1.02 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.05871/0.9137, allocations: 12.55 MB / 1.032 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.9138, allocations: 4 kB / 1.032 GB, free: 8.625 MB / 0.6511 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.0006694/0.9144, allocations: 458.4 kB / 1.033 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.871e-05/0.9145, allocations: 8.031 kB / 1.033 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.9146, allocations: 11.91 kB / 1.033 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.9148, allocations: 168.7 kB / 1.033 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.9149, allocations: 11.91 kB / 1.033 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.9149, allocations: 4 kB / 1.033 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002008/0.9151, allocations: 62.08 kB / 1.033 GB, free: 7.848 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.9154, allocations: 125.3 kB / 1.033 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.9154, allocations: 3.938 kB / 1.033 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.9155, allocations: 7.984 kB / 1.033 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.9155, allocations: 0 / 1.033 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.9157, allocations: 136.7 kB / 1.033 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.9159, allocations: 118.4 kB / 1.033 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.9161, allocations: 97.61 kB / 1.034 GB, free: 7.395 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.9161, allocations: 0 / 1.034 GB, free: 7.395 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.9162, allocations: 34.55 kB / 1.034 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 3.266e-06/0.9162, allocations: 4 kB / 1.034 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0007547/0.9169, allocations: 199.6 kB / 1.034 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.917, allocations: 93 kB / 1.034 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.9172, allocations: 108.2 kB / 1.034 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.9172, allocations: 33.73 kB / 1.034 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.9173, allocations: 80.14 kB / 1.034 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.9173, allocations: 27.42 kB / 1.034 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.9174, allocations: 0 / 1.034 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.9175, allocations: 318.8 kB / 1.034 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.9176, allocations: 58.95 kB / 1.034 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.9178, allocations: 59.27 kB / 1.035 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.9182, allocations: 67.31 kB / 1.035 GB, free: 6.332 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.9182, allocations: 4 kB / 1.035 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006614/0.9189, allocations: 191.8 kB / 1.035 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.9189, allocations: 10.12 kB / 1.035 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9189, allocations: 3.906 kB / 1.035 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.9189, allocations: 0 / 1.035 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.9189, allocations: 0 / 1.035 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.919, allocations: 4 kB / 1.035 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.9194, allocations: 11.98 kB / 1.035 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.866e-05/0.9195, allocations: 19.48 kB / 1.035 GB, free: 6.109 MB / 0.6511 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.0001976/0.9197, allocations: 158.6 kB / 1.035 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.9197, allocations: 11.91 kB / 1.035 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.9198, allocations: 4.375 kB / 1.035 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.9198, allocations: 4.375 kB / 1.035 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.9198, allocations: 0 / 1.035 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9198, allocations: 3.938 kB / 1.035 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.92, allocations: 153.4 kB / 1.035 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.92, allocations: 3.938 kB / 1.035 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.92, allocations: 0 / 1.035 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.92, allocations: 4 kB / 1.035 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.979e-05/0.92, allocations: 11.98 kB / 1.035 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.9201, allocations: 4 kB / 1.035 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9201, allocations: 0 / 1.035 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000737/0.9208, allocations: 241.9 kB / 1.035 GB, free: 5.484 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.9209, allocations: 96.62 kB / 1.035 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.172e-05/0.921, allocations: 12.05 kB / 1.036 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.9214, allocations: 20.02 kB / 1.036 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.9214, allocations: 4 kB / 1.036 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/0.9215, allocations: 19.61 kB / 1.036 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.08e-05/0.9216, allocations: 94.67 kB / 1.036 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006246/0.9222, allocations: 107.1 kB / 1.036 GB, free: 5.137 MB / 0.6511 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 [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.so [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.so [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.so Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/0.9234, allocations: 426.1 kB / 1.036 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004983/0.9239, allocations: 215.4 kB / 1.036 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9239, allocations: 0 / 1.036 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.9243, allocations: 181.5 kB / 1.037 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.9244, allocations: 4 kB / 1.037 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.926, allocations: 484 kB / 1.037 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.9264, allocations: 0.6958 MB / 1.038 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of SimCode: time 9.11e-07/0.9264, allocations: 0 / 1.038 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of Templates: time 0.01058/0.937, allocations: 3.757 MB / 1.041 GB, free: 15.61 MB / 0.6667 GB