Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.001647, allocations: 105.8 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 191.6 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.2 MB / 0.665 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 62.3 kB / 0.8127 GB, free: 32.47 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3381, allocations: 140.4 MB / 0.9498 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002177/0.3404, allocations: 0.6028 MB / 0.9504 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.3422, allocations: 1.189 MB / 0.9515 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.3422, allocations: 3.938 kB / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.3423, allocations: 8 kB / 0.9515 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.448e-05/0.3424, allocations: 0 / 0.9515 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007844/0.3432, allocations: 251.5 kB / 0.9518 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.3434, allocations: 79.88 kB / 0.9518 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.507e-05/0.3434, allocations: 4 kB / 0.9519 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.762e-05/0.3435, allocations: 43.83 kB / 0.9519 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.3436, allocations: 39.91 kB / 0.9519 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3436, allocations: 4 kB / 0.9519 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/0.3441, allocations: 187.7 kB / 0.9521 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.603e-05/0.3441, allocations: 11.92 kB / 0.9521 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/0.3442, allocations: 35.8 kB / 0.9522 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.3445, allocations: 183.7 kB / 0.9523 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3445, allocations: 0 / 0.9523 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3445, allocations: 0 / 0.9523 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3445, allocations: 4 kB / 0.9523 GB, free: 6.617 MB / 0.7325 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.0004785/0.345, allocations: 441.3 kB / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3451, allocations: 12.03 kB / 0.9528 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.069e-05/0.3452, allocations: 88.12 kB / 0.9529 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.3453, allocations: 251.6 kB / 0.9531 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.545e-05/0.3454, allocations: 154.9 kB / 0.9532 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.3455, allocations: 158.9 kB / 0.9534 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.584e-05/0.3455, allocations: 105.1 kB / 0.9535 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.3456, allocations: 75.28 kB / 0.9536 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.3456, allocations: 162.5 kB / 0.9537 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.797e-05/0.3457, allocations: 154.6 kB / 0.9539 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.3457, allocations: 154.5 kB / 0.954 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.346, allocations: 469.8 kB / 0.9545 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.92e-05/0.3461, allocations: 173.1 kB / 0.9546 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.3462, allocations: 80.14 kB / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.3462, allocations: 79.22 kB / 0.9548 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.3463, allocations: 113.8 kB / 0.9549 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.3463, allocations: 0 / 0.9549 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001011/0.3464, allocations: 33.7 kB / 0.9549 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.3464, allocations: 130.7 kB / 0.955 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3466, allocations: 147.6 kB / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.3466, allocations: 29.7 kB / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.3467, allocations: 88.14 kB / 0.9553 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.3467, allocations: 0 / 0.9553 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.113e-05/0.3468, allocations: 49.62 kB / 0.9553 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3469, allocations: 314.8 kB / 0.9556 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.347, allocations: 63.94 kB / 0.9557 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.752e-05/0.3471, allocations: 63.89 kB / 0.9558 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.3473, allocations: 94.52 kB / 0.9559 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3473, allocations: 0 / 0.9559 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004082/0.3477, allocations: 231.1 kB / 0.9561 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.3478, allocations: 47.23 kB / 0.9561 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3478, allocations: 0 / 0.9561 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3478, allocations: 7.938 kB / 0.9561 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.3478, allocations: 0 / 0.9561 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3478, allocations: 0 / 0.9561 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.3482, allocations: 23.95 kB / 0.9562 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.3482, allocations: 20.05 kB / 0.9562 GB, free: 2.43 MB / 0.7325 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 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.3484, allocations: 193.1 kB / 0.9564 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.3484, allocations: 120.8 kB / 0.9565 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.3485, allocations: 116.3 kB / 0.9566 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-05/0.3486, allocations: 188.2 kB / 0.9568 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.567e-05/0.3486, allocations: 180.3 kB / 0.9569 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.578e-05/0.3487, allocations: 176.3 kB / 0.9571 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.3489, allocations: 417.2 kB / 0.9575 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/0.349, allocations: 101 kB / 0.9576 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.349, allocations: 116.8 kB / 0.9577 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.764e-05/0.3491, allocations: 176.3 kB / 0.9579 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.759e-05/0.3491, allocations: 180.3 kB / 0.9581 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.799e-05/0.3492, allocations: 180.2 kB / 0.9582 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.05e-05/0.3493, allocations: 180.3 kB / 0.9584 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.3494, allocations: 311.7 kB / 0.9587 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.3495, allocations: 190 kB / 0.9589 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.125e-05/0.3496, allocations: 180.3 kB / 0.959 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.3497, allocations: 105 kB / 0.9591 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.3497, allocations: 184.2 kB / 0.9593 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.3498, allocations: 105 kB / 0.9594 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.074e-05/0.3498, allocations: 109.1 kB / 0.9595 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3499, allocations: 8 kB / 0.9595 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003568/0.3502, allocations: 71.92 kB / 0.9596 GB, free: 14.69 MB / 0.7481 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000767/0.351, allocations: 405.6 kB / 0.96 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.3513, allocations: 219.2 kB / 0.9602 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3513, allocations: 0 / 0.9602 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-06/0.3513, allocations: 0 / 0.9602 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.3517, allocations: 463.8 kB / 0.9606 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.352, allocations: 269.8 kB / 0.9609 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.3523, allocations: 0.6844 MB / 0.9616 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.3523, allocations: 7.438 kB / 0.9616 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of SimCode: time 4.2e-07/0.3523, allocations: 0 / 0.9616 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of Templates: time 0.00464/0.3569, allocations: 2.361 MB / 0.9639 GB, free: 10.31 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/C-Sources/pythonWrapper.c:35:3: error: use of undeclared identifier 'pythonExchangeValuesNoModelica' pythonExchangeValuesNoModelica( ^ 1 error generated. make: *** [: OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o] Error 1