Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Python36_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 8.1.4-maint.8.1.x/package.mo): time 1.59/1.59, allocations: 289.8 MB / 297.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 177.3 kB / 366.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.1 MB / 0.6256 GB, free: 5.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 82.03 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2932/0.2943, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7438/1.038, allocations: 116.3 MB / 0.9727 GB, free: 68.17 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1867/1.225, allocations: 140.7 MB / 1.11 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/1.225, allocations: 87.94 kB / 1.11 GB, free: 7.719 MB / 0.7136 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.03518/1.26, allocations: 11.91 MB / 1.122 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.26, allocations: 12 kB / 1.122 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/1.261, allocations: 4 kB / 1.122 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/1.261, allocations: 179 kB / 1.122 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/1.261, allocations: 4 kB / 1.122 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/1.261, allocations: 4 kB / 1.122 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001722/1.261, allocations: 59.91 kB / 1.122 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/1.261, allocations: 125.6 kB / 1.122 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/1.261, allocations: 0 / 1.122 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/1.261, allocations: 7.906 kB / 1.122 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.895e-05/1.261, allocations: 4 kB / 1.122 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/1.262, allocations: 138.2 kB / 1.122 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/1.262, allocations: 110.6 kB / 1.122 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/1.262, allocations: 96.92 kB / 1.122 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/1.262, allocations: 3.984 kB / 1.122 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/1.262, allocations: 38.56 kB / 1.122 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/1.262, allocations: 0 / 1.122 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005437/1.262, allocations: 185.4 kB / 1.123 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/1.263, allocations: 97.09 kB / 1.123 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/1.263, allocations: 116.8 kB / 1.123 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/1.263, allocations: 33.7 kB / 1.123 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/1.263, allocations: 80.14 kB / 1.123 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/1.263, allocations: 19.73 kB / 1.123 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/1.263, allocations: 8.031 kB / 1.123 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.263, allocations: 318.8 kB / 1.123 GB, free: 10 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/1.263, allocations: 55.95 kB / 1.123 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.64e-05/1.263, allocations: 63.95 kB / 1.123 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/1.263, allocations: 63.94 kB / 1.123 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.263, allocations: 0 / 1.123 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003969/1.264, allocations: 197.4 kB / 1.124 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.264, allocations: 8 kB / 1.124 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.264, allocations: 0 / 1.124 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.264, allocations: 4.062 kB / 1.124 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/1.264, allocations: 0 / 1.124 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.264, allocations: 0 / 1.124 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/1.264, allocations: 19.89 kB / 1.124 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/1.264, allocations: 8 kB / 1.124 GB, free: 9.586 MB / 0.7292 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.0002081/1.264, allocations: 154.7 kB / 1.124 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/1.264, allocations: 11.91 kB / 1.124 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/1.264, allocations: 12.38 kB / 1.124 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/1.265, allocations: 3.906 kB / 1.124 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.265, allocations: 0 / 1.124 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.265, allocations: 0 / 1.124 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/1.265, allocations: 150.1 kB / 1.124 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.265, allocations: 0 / 1.124 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-06/1.265, allocations: 0 / 1.124 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/1.265, allocations: 7.938 kB / 1.124 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/1.265, allocations: 11.98 kB / 1.124 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.265, allocations: 5.859 kB / 1.124 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.265, allocations: 4.062 kB / 1.124 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004884/1.265, allocations: 248.8 kB / 1.124 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006407/1.266, allocations: 0.6067 MB / 1.125 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/1.266, allocations: 97.36 kB / 1.125 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/1.266, allocations: 4 kB / 1.125 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/1.266, allocations: 20.05 kB / 1.125 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/1.266, allocations: 11.98 kB / 1.125 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/1.266, allocations: 19.84 kB / 1.125 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.936e-05/1.266, allocations: 91.27 kB / 1.125 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00112/1.268, allocations: 103.9 kB / 1.125 GB, free: 7.934 MB / 0.7292 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 8.1.4-maint.8.1.x/Utilities/IO/Python36/Functions/BaseClasses/exchange.mo:2:1-81:13:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:5:5-46:20:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:48:3-78:17:writable] Warning: Could not find library python3.6m in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libpython3.6m.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/Buildings/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.001159/1.269, allocations: 369 kB / 1.126 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003417/1.269, allocations: 205.6 kB / 1.126 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.269, allocations: 0 / 1.126 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/1.269, allocations: 181.6 kB / 1.126 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/1.27, allocations: 8.125 kB / 1.126 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/1.271, allocations: 463 kB / 1.126 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/1.271, allocations: 0.6919 MB / 1.127 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/1.271, allocations: 0 / 1.127 GB, free: 6.035 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.fmu > Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)