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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001208/0.001208, allocations: 101.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 173.6 kB / 16.58 MB, free: 6.422 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.502/1.502, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.581/2.581, allocations: 390.5 MB / 0.6662 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003285, allocations: 12 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8899/0.8902, allocations: 142.3 MB / 0.9544 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.0008515/0.8911, allocations: 278.8 kB / 0.9547 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.8927, allocations: 1.117 MB / 0.9558 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.8927, allocations: 0 / 0.9558 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.287e-05/0.8928, allocations: 5.281 kB / 0.9558 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.8929, allocations: 7.922 kB / 0.9558 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.8934, allocations: 243.4 kB / 0.956 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.8936, allocations: 56.69 kB / 0.9561 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.8936, allocations: 2.469 kB / 0.9561 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.8937, allocations: 47.92 kB / 0.9561 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.397e-05/0.8937, allocations: 44.45 kB / 0.9562 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.8938, allocations: 3.5 kB / 0.9562 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.8942, allocations: 171 kB / 0.9563 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.8942, allocations: 7.453 kB / 0.9563 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.8943, allocations: 38.92 kB / 0.9564 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.8946, allocations: 181 kB / 0.9565 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.8946, allocations: 1.562 kB / 0.9565 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8946, allocations: 0 / 0.9565 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.8946, allocations: 0 / 0.9565 GB, free: 6.617 MB / 0.7169 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.0004026/0.895, allocations: 421.2 kB / 0.9569 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.8951, allocations: 8.875 kB / 0.9569 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.8952, allocations: 93.23 kB / 0.957 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.8953, allocations: 249.1 kB / 0.9573 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/0.8954, allocations: 154.2 kB / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.8954, allocations: 160.6 kB / 0.9576 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.207e-05/0.8955, allocations: 108.9 kB / 0.9577 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.8955, allocations: 76.34 kB / 0.9578 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.8956, allocations: 166.5 kB / 0.9579 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.8956, allocations: 154.5 kB / 0.9581 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.59e-05/0.8957, allocations: 151.7 kB / 0.9582 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.8959, allocations: 469.5 kB / 0.9587 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.158e-05/0.896, allocations: 170.3 kB / 0.9588 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/0.896, allocations: 80.14 kB / 0.9589 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.896, allocations: 80.19 kB / 0.959 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.8961, allocations: 110.7 kB / 0.9591 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.8961, allocations: 0 / 0.9591 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.67e-05/0.8962, allocations: 40.09 kB / 0.9591 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.8962, allocations: 135.6 kB / 0.9592 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.8964, allocations: 142.5 kB / 0.9594 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.8964, allocations: 28.52 kB / 0.9594 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.8965, allocations: 92.28 kB / 0.9595 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.8965, allocations: 0 / 0.9595 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.8965, allocations: 3.375 kB / 0.9595 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.8966, allocations: 313.1 kB / 0.9598 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.8967, allocations: 64.12 kB / 0.9599 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.525e-05/0.8968, allocations: 64.92 kB / 0.9599 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.8969, allocations: 85.06 kB / 0.96 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8969, allocations: 0 / 0.96 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003875/0.8973, allocations: 226.5 kB / 0.9602 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.8974, allocations: 46.09 kB / 0.9603 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.8974, allocations: 1.156 kB / 0.9603 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.8974, allocations: 0 / 0.9603 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.8974, allocations: 3.938 kB / 0.9603 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.8974, allocations: 5.172 kB / 0.9603 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.8977, allocations: 30.22 kB / 0.9603 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.8978, allocations: 18.39 kB / 0.9603 GB, free: 2.867 MB / 0.7169 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.8979, allocations: 198.3 kB / 0.9605 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.8979, allocations: 112 kB / 0.9606 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.898, allocations: 110.3 kB / 0.9607 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/0.898, allocations: 177.3 kB / 0.9609 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-05/0.8981, allocations: 193.2 kB / 0.9611 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/0.8981, allocations: 177.2 kB / 0.9612 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.8982, allocations: 417.4 kB / 0.9616 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/0.8983, allocations: 101 kB / 0.9617 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.36e-05/0.8983, allocations: 110 kB / 0.9618 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.819e-05/0.8983, allocations: 177.4 kB / 0.962 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.8984, allocations: 189.4 kB / 0.9622 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.911e-05/0.8984, allocations: 185.5 kB / 0.9624 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.734e-05/0.8984, allocations: 177.4 kB / 0.9625 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.464e-05/0.8985, allocations: 312.4 kB / 0.9628 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/0.8986, allocations: 200.3 kB / 0.963 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.992e-05/0.8987, allocations: 181.4 kB / 0.9632 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.8988, allocations: 102.5 kB / 0.9633 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.8989, allocations: 181.3 kB / 0.9635 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.8989, allocations: 101 kB / 0.9636 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.255e-05/0.899, allocations: 109.8 kB / 0.9637 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.899, allocations: 0 / 0.9637 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003625/0.8994, allocations: 75.64 kB / 0.9637 GB, free: 15.23 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007506/0.9001, allocations: 396.2 kB / 0.9641 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003014/0.9004, allocations: 214.4 kB / 0.9643 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9005, allocations: 0 / 0.9643 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.02e-06/0.9005, allocations: 3.938 kB / 0.9643 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.901, allocations: 0.5259 MB / 0.9648 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.9013, allocations: 264.1 kB / 0.9651 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.9016, allocations: 0.6834 MB / 0.9658 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.9017, allocations: 8.75 kB / 0.9658 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.9017, allocations: 0 / 0.9658 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of Templates: time 0.004984/0.9066, allocations: 2.357 MB / 0.9681 GB, free: 12.16 MB / 0.7325 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++ NOTFOUND -Winvalid-pch -O0 -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.2-maint.9.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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.2-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 clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeCalcHelperMain.o] Error 1