Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,fileNamePrefix="Buildings_6_0_0_Buildings_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 loadModel(Buildings): time 4.037/4.037, allocations: 433 MB / 440.3 MB, free: 4.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5763/4.614, allocations: 104.3 MB / 0.5319 GB, free: 13.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/4.878, allocations: 98.73 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.253/5.131, allocations: 126.6 MB / 0.7519 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/5.131, allocations: 91.58 kB / 0.752 GB, free: 10.92 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.06069/5.192, allocations: 12.32 MB / 0.7641 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/5.192, allocations: 8 kB / 0.7641 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.523e-05/5.192, allocations: 11.91 kB / 0.7641 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/5.192, allocations: 174.9 kB / 0.7643 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/5.192, allocations: 7.984 kB / 0.7643 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/5.192, allocations: 8 kB / 0.7643 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002194/5.193, allocations: 59.97 kB / 0.7643 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/5.193, allocations: 125.6 kB / 0.7644 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/5.193, allocations: 0 / 0.7644 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/5.193, allocations: 4 kB / 0.7645 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/5.193, allocations: 0 / 0.7645 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/5.193, allocations: 138.1 kB / 0.7646 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/5.193, allocations: 114.6 kB / 0.7647 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/5.194, allocations: 104.8 kB / 0.7648 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/5.194, allocations: 4 kB / 0.7648 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/5.194, allocations: 34.56 kB / 0.7648 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 5.841e-06/5.194, allocations: 7.922 kB / 0.7648 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0007958/5.195, allocations: 189.4 kB / 0.765 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/5.195, allocations: 93.09 kB / 0.7651 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/5.195, allocations: 112.9 kB / 0.7652 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/5.195, allocations: 25.7 kB / 0.7652 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/5.195, allocations: 92.12 kB / 0.7653 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/5.195, allocations: 15.84 kB / 0.7653 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/5.195, allocations: 0 / 0.7653 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001375/5.195, allocations: 322.8 kB / 0.7656 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/5.195, allocations: 59.95 kB / 0.7657 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/5.196, allocations: 59.95 kB / 0.7658 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/5.196, allocations: 71.88 kB / 0.7658 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/5.196, allocations: 0 / 0.7658 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007228/5.197, allocations: 193.5 kB / 0.766 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/5.197, allocations: 4 kB / 0.766 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/5.197, allocations: 4.062 kB / 0.766 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/5.197, allocations: 4 kB / 0.766 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/5.197, allocations: 0 / 0.766 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/5.197, allocations: 0 / 0.766 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000434/5.197, allocations: 15.98 kB / 0.766 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/5.197, allocations: 15.89 kB / 0.7661 GB, free: 12.31 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.0002294/5.197, allocations: 150.7 kB / 0.7662 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/5.198, allocations: 15.91 kB / 0.7662 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/5.198, allocations: 8.375 kB / 0.7662 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/5.198, allocations: 0 / 0.7662 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/5.198, allocations: 3.984 kB / 0.7662 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/5.198, allocations: 3.938 kB / 0.7662 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/5.198, allocations: 146.1 kB / 0.7664 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/5.198, allocations: 0 / 0.7664 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-06/5.198, allocations: 0 / 0.7664 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/5.198, allocations: 4.062 kB / 0.7664 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/5.198, allocations: 15.98 kB / 0.7664 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/5.198, allocations: 384 / 0.7664 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/5.198, allocations: 7.938 kB / 0.7664 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007946/5.199, allocations: 244.8 kB / 0.7666 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009642/5.2, allocations: 0.6184 MB / 0.7672 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/5.2, allocations: 96.88 kB / 0.7673 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/5.2, allocations: 8.062 kB / 0.7673 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004597/5.2, allocations: 19.98 kB / 0.7674 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/5.2, allocations: 4 kB / 0.7674 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/5.201, allocations: 15.98 kB / 0.7674 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.037e-05/5.201, allocations: 99.2 kB / 0.7675 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001505/5.202, allocations: 119.8 kB / 0.7676 GB, free: 10.63 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/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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/.openmodelica/binaries/Buildings/libpython2.7.a /var/lib/hudson/.openmodelica/binaries/Buildings/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/x86_64-linux/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/x86_64-linux/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/linux64/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/linux64/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/libpython2.7.so [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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/.openmodelica/binaries/Buildings/libpython2.7.a /var/lib/hudson/.openmodelica/binaries/Buildings/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/x86_64-linux/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/x86_64-linux/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/linux64/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/linux64/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/libpython2.7.so [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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/.openmodelica/binaries/Buildings/libpython2.7.a /var/lib/hudson/.openmodelica/binaries/Buildings/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/x86_64-linux/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/x86_64-linux/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/linux64/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/linux64/libpython2.7.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/libpython2.7.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Library/libpython2.7.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0015/5.204, allocations: 438.3 kB / 0.768 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006758/5.204, allocations: 209.6 kB / 0.7682 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/5.204, allocations: 0 / 0.7682 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003457/5.205, allocations: 185.6 kB / 0.7684 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/5.205, allocations: 16.06 kB / 0.7684 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/5.207, allocations: 459.1 kB / 0.7688 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/5.207, allocations: 0.6919 MB / 0.7695 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/5.207, allocations: 0 / 0.7695 GB, free: 8.629 MB / 0.6511 GB