Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Python36.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.463/2.463, allocations: 253.1 MB / 260.4 MB, free: 11.81 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001605, allocations: 184.3 kB / 319.6 MB, free: 2.289 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.4 MB / 0.5704 GB, free: 8.273 MB / 435.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001717/0.001717, allocations: 101.4 kB / 0.6746 GB, free: 21.84 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 1.117e-05/1.133e-05, allocations: 0 / 0.7843 GB, free: 5.441 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6897/0.6897, allocations: 106.2 MB / 0.888 GB, free: 64.47 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2403/0.9301, allocations: 133.7 MB / 1.019 GB, free: 6.574 MB / 0.6593 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003714/0.9305, allocations: 87.94 kB / 1.019 GB, free: 6.488 MB / 0.6593 GB Notification: Performance of FrontEnd: time 0.05631/0.9868, allocations: 11.88 MB / 1.03 GB, free: 10.58 MB / 0.6749 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.9869, allocations: 0 / 1.03 GB, free: 10.58 MB / 0.6749 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.0007011/0.9876, allocations: 471.8 kB / 1.031 GB, free: 10.07 MB / 0.6749 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.9877, allocations: 8.031 kB / 1.031 GB, free: 10.06 MB / 0.6749 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.847e-05/0.9878, allocations: 7.906 kB / 1.031 GB, free: 10.05 MB / 0.6749 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.988, allocations: 171.1 kB / 1.031 GB, free: 9.848 MB / 0.6749 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.988, allocations: 7.906 kB / 1.031 GB, free: 9.84 MB / 0.6749 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.988, allocations: 4 kB / 1.031 GB, free: 9.836 MB / 0.6749 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002073/0.9882, allocations: 59.95 kB / 1.031 GB, free: 9.777 MB / 0.6749 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.9885, allocations: 125.5 kB / 1.031 GB, free: 9.648 MB / 0.6749 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.9886, allocations: 0 / 1.031 GB, free: 9.648 MB / 0.6749 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.9886, allocations: 4 kB / 1.031 GB, free: 9.645 MB / 0.6749 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.9886, allocations: 3.938 kB / 1.031 GB, free: 9.641 MB / 0.6749 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.9888, allocations: 134.2 kB / 1.031 GB, free: 9.473 MB / 0.6749 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.989, allocations: 118.5 kB / 1.031 GB, free: 9.348 MB / 0.6749 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.9893, allocations: 100.9 kB / 1.031 GB, free: 9.246 MB / 0.6749 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.9893, allocations: 0 / 1.031 GB, free: 9.246 MB / 0.6749 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.9893, allocations: 30.56 kB / 1.031 GB, free: 9.207 MB / 0.6749 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.9893, allocations: 4 kB / 1.032 GB, free: 9.203 MB / 0.6749 GB Notification: Performance of matching and sorting (n=6): time 0.0008275/0.9902, allocations: 193.5 kB / 1.032 GB, free: 9.008 MB / 0.6749 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/0.9903, allocations: 97 kB / 1.032 GB, free: 8.895 MB / 0.6749 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.9904, allocations: 116.9 kB / 1.032 GB, free: 8.773 MB / 0.6749 GB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.9905, allocations: 29.7 kB / 1.032 GB, free: 8.738 MB / 0.6749 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.9905, allocations: 80.14 kB / 1.032 GB, free: 8.656 MB / 0.6749 GB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.9906, allocations: 15.81 kB / 1.032 GB, free: 8.641 MB / 0.6749 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.9906, allocations: 4 kB / 1.032 GB, free: 8.637 MB / 0.6749 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9908, allocations: 326.8 kB / 1.032 GB, free: 8.309 MB / 0.6749 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.991, allocations: 59.95 kB / 1.032 GB, free: 8.25 MB / 0.6749 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.9911, allocations: 59.95 kB / 1.032 GB, free: 8.191 MB / 0.6749 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.9915, allocations: 63.94 kB / 1.033 GB, free: 8.129 MB / 0.6749 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.9915, allocations: 0 / 1.033 GB, free: 8.129 MB / 0.6749 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006866/0.9922, allocations: 193.6 kB / 1.033 GB, free: 7.934 MB / 0.6749 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.9922, allocations: 9.656 kB / 1.033 GB, free: 7.926 MB / 0.6749 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.9923, allocations: 3.906 kB / 1.033 GB, free: 7.922 MB / 0.6749 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.9923, allocations: 0 / 1.033 GB, free: 7.922 MB / 0.6749 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.617e-06/0.9923, allocations: 4.062 kB / 1.033 GB, free: 7.918 MB / 0.6749 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.9923, allocations: 64 / 1.033 GB, free: 7.918 MB / 0.6749 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.9927, allocations: 19.98 kB / 1.033 GB, free: 7.898 MB / 0.6749 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.909e-05/0.9928, allocations: 19.98 kB / 1.033 GB, free: 7.879 MB / 0.6749 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.0002069/0.993, allocations: 150.6 kB / 1.033 GB, free: 7.719 MB / 0.6749 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.9931, allocations: 11.91 kB / 1.033 GB, free: 7.707 MB / 0.6749 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.9931, allocations: 8.359 kB / 1.033 GB, free: 7.699 MB / 0.6749 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.9931, allocations: 0 / 1.033 GB, free: 7.699 MB / 0.6749 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.9931, allocations: 4 kB / 1.033 GB, free: 7.695 MB / 0.6749 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9932, allocations: 384 / 1.033 GB, free: 7.695 MB / 0.6749 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.9933, allocations: 162 kB / 1.033 GB, free: 7.5 MB / 0.6749 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9933, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.6749 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.9934, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.6749 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.9934, allocations: 3.938 kB / 1.033 GB, free: 7.496 MB / 0.6749 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.9934, allocations: 15.98 kB / 1.033 GB, free: 7.48 MB / 0.6749 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.9934, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.6749 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.9934, allocations: 0 / 1.033 GB, free: 7.48 MB / 0.6749 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007622/0.9942, allocations: 248.9 kB / 1.033 GB, free: 7.219 MB / 0.6749 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.9943, allocations: 92.94 kB / 1.033 GB, free: 7.109 MB / 0.6749 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/0.9944, allocations: 8 kB / 1.033 GB, free: 7.102 MB / 0.6749 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.9948, allocations: 11.98 kB / 1.033 GB, free: 7.09 MB / 0.6749 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.9948, allocations: 11.98 kB / 1.033 GB, free: 7.078 MB / 0.6749 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.9949, allocations: 15.98 kB / 1.033 GB, free: 7.062 MB / 0.6749 GB Notification: Performance of sort global known variables: time 8.212e-05/0.995, allocations: 95.19 kB / 1.034 GB, free: 6.969 MB / 0.6749 GB Notification: Performance of remove unused functions: time 0.0005994/0.9956, allocations: 111.9 kB / 1.034 GB, free: 6.859 MB / 0.6749 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/Utilities/IO/Python36/Functions/BaseClasses/exchange.mo:2:1-81:13:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.so [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:5:5-46:20:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.so [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:48:3-78:17:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/x86_64-linux/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/linux64/libpython3.6m.so /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.a /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.001168/0.9968, allocations: 423.3 kB / 1.034 GB, free: 6.551 MB / 0.6749 GB Notification: Performance of simCode: created initialization part: time 0.0005276/0.9973, allocations: 205.5 kB / 1.034 GB, free: 6.344 MB / 0.6749 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9973, allocations: 0 / 1.034 GB, free: 6.344 MB / 0.6749 GB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.9977, allocations: 181.6 kB / 1.034 GB, free: 6.16 MB / 0.6749 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.9978, allocations: 12.11 kB / 1.034 GB, free: 6.148 MB / 0.6749 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.9995, allocations: 463.2 kB / 1.035 GB, free: 5.672 MB / 0.6749 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/0.9999, allocations: 0.6996 MB / 1.036 GB, free: 4.945 MB / 0.6749 GB Notification: Performance of SimCode: time 8.81e-07/0.9999, allocations: 0 / 1.036 GB, free: 4.945 MB / 0.6749 GB Notification: Performance of Templates: time 0.01097/1.011, allocations: 3.69 MB / 1.039 GB, free: 1.285 MB / 0.6749 GB