Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.215/1.215, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 176 kB / 316 MB, free: 7.184 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 0.5667 GB, free: 23.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000912/0.0009121, allocations: 82.44 kB / 0.671 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.221/0.2219, allocations: 112.5 MB / 0.7808 GB, free: 288 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.6798, allocations: 106.3 MB / 0.8847 GB, free: 76.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.8306, allocations: 133.9 MB / 1.015 GB, free: 6.141 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.8309, allocations: 83.94 kB / 1.015 GB, free: 6.059 MB / 0.6667 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.03327/0.8642, allocations: 12.34 MB / 1.028 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.8642, allocations: 8 kB / 1.028 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.8643, allocations: 11.91 kB / 1.028 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.8644, allocations: 179 kB / 1.028 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.8645, allocations: 4 kB / 1.028 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.8645, allocations: 15.94 kB / 1.028 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001497/0.8646, allocations: 51.97 kB / 1.028 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.8648, allocations: 121.6 kB / 1.028 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.8648, allocations: 0 / 1.028 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.8649, allocations: 4 kB / 1.028 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.8649, allocations: 3.938 kB / 1.028 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.865, allocations: 142.2 kB / 1.028 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.8652, allocations: 110.5 kB / 1.028 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.8653, allocations: 104.9 kB / 1.028 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-06/0.8653, allocations: 0 / 1.028 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.8653, allocations: 34.56 kB / 1.028 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 7.51e-07/0.8653, allocations: 0 / 1.028 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0004719/0.8658, allocations: 189.5 kB / 1.028 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.8659, allocations: 89.09 kB / 1.029 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/0.866, allocations: 120.9 kB / 1.029 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.866, allocations: 25.7 kB / 1.029 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.866, allocations: 92.16 kB / 1.029 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.8661, allocations: 15.81 kB / 1.029 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.8661, allocations: 4 kB / 1.029 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.8662, allocations: 314.8 kB / 1.029 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/0.8663, allocations: 59.95 kB / 1.029 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.8664, allocations: 59.95 kB / 1.029 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.8666, allocations: 67.94 kB / 1.029 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.8666, allocations: 0 / 1.029 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004305/0.867, allocations: 193.5 kB / 1.029 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.867, allocations: 11.94 kB / 1.029 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.8671, allocations: 384 / 1.029 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.8671, allocations: 4 kB / 1.029 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-06/0.8671, allocations: 4.062 kB / 1.029 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.8671, allocations: 0 / 1.029 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.8673, allocations: 19.92 kB / 1.03 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.8674, allocations: 15.89 kB / 1.03 GB, free: 7.441 MB / 0.6823 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.0001432/0.8675, allocations: 158.6 kB / 1.03 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.8675, allocations: 11.91 kB / 1.03 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.667e-05/0.8676, allocations: 16.34 kB / 1.03 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.8676, allocations: 0 / 1.03 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.8676, allocations: 0 / 1.03 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.8676, allocations: 0 / 1.03 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.75e-05/0.8677, allocations: 154 kB / 1.03 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.8677, allocations: 0 / 1.03 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.8677, allocations: 0 / 1.03 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.8677, allocations: 4 kB / 1.03 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.8677, allocations: 19.98 kB / 1.03 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.8677, allocations: 0 / 1.03 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8677, allocations: 0 / 1.03 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004393/0.8682, allocations: 240.8 kB / 1.03 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005466/0.8687, allocations: 0.6223 MB / 1.031 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.8688, allocations: 93.06 kB / 1.031 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.8689, allocations: 8 kB / 1.031 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.8691, allocations: 15.98 kB / 1.031 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.8691, allocations: 7.984 kB / 1.031 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.8691, allocations: 16 kB / 1.031 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.097e-05/0.8692, allocations: 95.2 kB / 1.031 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009331/0.8701, allocations: 111.9 kB / 1.031 GB, free: 5.777 MB / 0.6823 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.3-maint.7.0.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 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.0007281/0.8709, allocations: 441 kB / 1.031 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.8711, allocations: 209.6 kB / 1.032 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.8711, allocations: 0 / 1.032 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.8713, allocations: 181.6 kB / 1.032 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.721e-05/0.8714, allocations: 5.891 kB / 1.032 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008664/0.8723, allocations: 463.1 kB / 1.032 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.8725, allocations: 0.6958 MB / 1.033 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of SimCode: time 2.7e-07/0.8725, allocations: 0 / 1.033 GB, free: 3.828 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_Exchange.fmu > Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)