Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_9_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange,fileNamePrefix="Buildings_9_Buildings_Obsolete_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 9.1.1-maint.9.1.x/package.mo): time 2.022/2.022, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 181.3 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009005/0.0009004, allocations: 102.4 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4946/0.4956, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.7369, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6334/1.37, allocations: 151.5 MB / 1.353 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/1.371, allocations: 91.89 kB / 1.353 GB, free: 15.84 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0349/1.406, allocations: 12.29 MB / 1.365 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/1.406, allocations: 8 kB / 1.365 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.446e-05/1.406, allocations: 83.28 kB / 1.365 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/1.406, allocations: 261.8 kB / 1.366 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/1.406, allocations: 158.1 kB / 1.366 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/1.406, allocations: 158.6 kB / 1.366 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.426e-05/1.406, allocations: 150.6 kB / 1.366 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.837e-05/1.406, allocations: 105 kB / 1.366 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.406, allocations: 75.28 kB / 1.366 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/1.406, allocations: 150.6 kB / 1.366 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/1.406, allocations: 154.5 kB / 1.367 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/1.406, allocations: 453.5 kB / 1.367 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.653e-05/1.406, allocations: 169.1 kB / 1.367 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/1.406, allocations: 80.14 kB / 1.367 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/1.406, allocations: 77.97 kB / 1.367 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/1.406, allocations: 113.8 kB / 1.367 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.406, allocations: 0 / 1.367 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.882e-05/1.406, allocations: 37.59 kB / 1.367 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.406e-05/1.406, allocations: 55.34 kB / 1.368 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/1.407, allocations: 134.9 kB / 1.368 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/1.407, allocations: 29.7 kB / 1.368 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/1.407, allocations: 91.12 kB / 1.368 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.322e-06/1.407, allocations: 0 / 1.368 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/1.407, allocations: 8 kB / 1.368 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.92e-05/1.407, allocations: 317.9 kB / 1.368 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/1.407, allocations: 59.52 kB / 1.368 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-05/1.407, allocations: 57.83 kB / 1.368 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/1.407, allocations: 63.81 kB / 1.368 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.407, allocations: 0 / 1.368 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000386/1.407, allocations: 190.7 kB / 1.368 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/1.407, allocations: 8 kB / 1.368 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/1.407, allocations: 0 / 1.368 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/1.407, allocations: 11.91 kB / 1.368 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/1.407, allocations: 0 / 1.368 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/1.407, allocations: 0 / 1.368 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/1.408, allocations: 19.89 kB / 1.368 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/1.408, allocations: 15.98 kB / 1.369 GB, free: 8.32 MB / 0.8073 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 8.159e-05/1.408, allocations: 184.2 kB / 1.369 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/1.408, allocations: 116.2 kB / 1.369 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/1.408, allocations: 108.5 kB / 1.369 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/1.408, allocations: 180.3 kB / 1.369 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-05/1.408, allocations: 184.2 kB / 1.369 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/1.408, allocations: 180.3 kB / 1.369 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/1.408, allocations: 397 kB / 1.37 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.408, allocations: 112.9 kB / 1.37 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.36e-05/1.408, allocations: 101 kB / 1.37 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.248e-05/1.408, allocations: 181.5 kB / 1.37 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/1.408, allocations: 184.2 kB / 1.37 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.208e-05/1.408, allocations: 176.3 kB / 1.371 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.141e-05/1.408, allocations: 188.2 kB / 1.371 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.247e-05/1.408, allocations: 302.9 kB / 1.371 GB, free: 5.645 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001894/1.409, allocations: 0.6825 MB / 1.372 GB, free: 20.94 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.562e-05/1.409, allocations: 193.3 kB / 1.372 GB, free: 20.73 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/1.409, allocations: 196.1 kB / 1.372 GB, free: 20.53 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/1.409, allocations: 101 kB / 1.372 GB, free: 20.43 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/1.409, allocations: 176.3 kB / 1.372 GB, free: 20.25 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/1.409, allocations: 101 kB / 1.372 GB, free: 20.14 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.696e-05/1.409, allocations: 106.3 kB / 1.372 GB, free: 20.04 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001059/1.41, allocations: 101.9 kB / 1.373 GB, free: 19.96 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 9.1.1-maint.9.1.x/Obsolete/Utilities/IO/Python36/Functions/BaseClasses/exchange.mo:2:1-85: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 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Obsolete/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:5:5-50: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 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.6m.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Obsolete/Utilities/IO/Python36/Functions/BaseClasses/PythonObject.mo:52:3-82: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 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/x86_64-linux/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/linux64/libpython3.6m.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.6m.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Library/libpython3.6m.so Notification: Performance of Backend phase and start with SimCode phase: time 0.000785/1.411, allocations: 444.1 kB / 1.373 GB, free: 19.61 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001831/1.411, allocations: 138.6 kB / 1.373 GB, free: 19.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.411, allocations: 0 / 1.373 GB, free: 19.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/1.411, allocations: 0 / 1.373 GB, free: 19.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/1.411, allocations: 0.5339 MB / 1.374 GB, free: 18.96 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/1.412, allocations: 172 kB / 1.374 GB, free: 18.78 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/1.412, allocations: 0.6993 MB / 1.375 GB, free: 18.05 MB / 0.823 GB Notification: Performance of SimCode: time 2.61e-07/1.412, allocations: 0 / 1.375 GB, free: 18.05 MB / 0.823 GB (rm -f Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_9_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Utilities_IO_Python36_Functions_Examples_Exchange.fmu > Buildings_9_Buildings.Obsolete.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)