Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.672/2.672, allocations: 248.6 MB / 255.9 MB, free: 7.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001714/0.001714, allocations: 181.3 kB / 315.1 MB, free: 4.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.232/2.232, allocations: 205.1 MB / 0.5658 GB, free: 348 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 83.33 kB / 0.67 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.539/0.5405, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.78, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.665/1.445, allocations: 135.2 MB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004842/1.446, allocations: 95.92 kB / 1.016 GB, free: 4.926 MB / 0.6355 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.06264/1.508, allocations: 13.01 MB / 1.028 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.508, allocations: 12 kB / 1.028 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/1.508, allocations: 7.906 kB / 1.028 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/1.509, allocations: 170.7 kB / 1.028 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/1.509, allocations: 7.906 kB / 1.028 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/1.509, allocations: 7.938 kB / 1.028 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002555/1.509, allocations: 62.77 kB / 1.029 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/1.509, allocations: 119.6 kB / 1.029 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/1.509, allocations: 0 / 1.029 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/1.509, allocations: 0 / 1.029 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/1.509, allocations: 0 / 1.029 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/1.51, allocations: 142.2 kB / 1.029 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/1.51, allocations: 112.4 kB / 1.029 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/1.51, allocations: 104.7 kB / 1.029 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/1.51, allocations: 0 / 1.029 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/1.51, allocations: 34.5 kB / 1.029 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/1.51, allocations: 0 / 1.029 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0008337/1.511, allocations: 196.7 kB / 1.029 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.422e-05/1.511, allocations: 97 kB / 1.029 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/1.511, allocations: 107.5 kB / 1.029 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/1.511, allocations: 29.7 kB / 1.029 GB, free: 9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.996e-05/1.511, allocations: 87.52 kB / 1.03 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/1.512, allocations: 15.75 kB / 1.03 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/1.512, allocations: 4 kB / 1.03 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.512, allocations: 325.7 kB / 1.03 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/1.512, allocations: 59.42 kB / 1.03 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/1.512, allocations: 61.83 kB / 1.03 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/1.513, allocations: 67 kB / 1.03 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.513, allocations: 384 / 1.03 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007428/1.513, allocations: 196.9 kB / 1.03 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.513, allocations: 4 kB / 1.03 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.513, allocations: 3.906 kB / 1.03 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/1.513, allocations: 3.938 kB / 1.03 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/1.513, allocations: 0 / 1.03 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.513, allocations: 0 / 1.03 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/1.514, allocations: 20.05 kB / 1.03 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.177e-05/1.514, allocations: 15.98 kB / 1.03 GB, free: 8.184 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.0002277/1.514, allocations: 156.2 kB / 1.03 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/1.514, allocations: 11.91 kB / 1.03 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/1.514, allocations: 4.375 kB / 1.03 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.514, allocations: 0 / 1.03 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.514, allocations: 0 / 1.03 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.514, allocations: 4 kB / 1.03 GB, free: 8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/1.514, allocations: 153.6 kB / 1.031 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.515, allocations: 3.938 kB / 1.031 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.283e-06/1.515, allocations: 0 / 1.031 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/1.515, allocations: 0 / 1.031 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/1.515, allocations: 15.48 kB / 1.031 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.515, allocations: 0 / 1.031 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.515, allocations: 0 / 1.031 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008241/1.515, allocations: 247.5 kB / 1.031 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001021/1.516, allocations: 0.6233 MB / 1.031 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/1.517, allocations: 90.88 kB / 1.032 GB, free: 6.852 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/1.517, allocations: 7.984 kB / 1.032 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/1.517, allocations: 15.98 kB / 1.032 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/1.517, allocations: 8 kB / 1.032 GB, free: 6.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/1.517, allocations: 19.58 kB / 1.032 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.842e-05/1.517, allocations: 95.2 kB / 1.032 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001552/1.519, allocations: 119.3 kB / 1.032 GB, free: 6.613 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 [/home/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/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 7.0.1/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.so [/home/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/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 7.0.1/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.so [/home/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/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 7.0.1/Resources/Library/x86_64-linux/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython2.7.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython2.7.a /home/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.00127/1.52, allocations: 428.5 kB / 1.032 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005603/1.521, allocations: 214.1 kB / 1.032 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.521, allocations: 0 / 1.032 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/1.521, allocations: 182 kB / 1.033 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/1.521, allocations: 4 kB / 1.033 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/1.523, allocations: 488.8 kB / 1.033 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/1.524, allocations: 0.6959 MB / 1.034 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/1.524, allocations: 0 / 1.034 GB, free: 4.797 MB / 0.6511 GB