Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.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.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 99.67 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.002031/0.002031, allocations: 174.3 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.459/1.459, allocations: 223.2 MB / 240.6 MB, free: 5.348 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.477/2.477, allocations: 390.5 MB / 0.6662 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 11.98 kB / 0.8154 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8818/0.8822, allocations: 142.3 MB / 0.9544 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.0007919/0.883, allocations: 263.5 kB / 0.9547 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.8845, allocations: 1.052 MB / 0.9557 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.8845, allocations: 0 / 0.9557 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.8846, allocations: 5.672 kB / 0.9557 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.8847, allocations: 3.938 kB / 0.9557 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.8852, allocations: 135.5 kB / 0.9558 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.036e-05/0.8853, allocations: 15.45 kB / 0.9558 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.819e-05/0.8854, allocations: 0 / 0.9558 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.8854, allocations: 10.47 kB / 0.9559 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.362e-05/0.8855, allocations: 17.48 kB / 0.9559 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.8855, allocations: 3.984 kB / 0.9559 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003982/0.8859, allocations: 163.5 kB / 0.956 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.886, allocations: 2.188 kB / 0.956 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.886, allocations: 26.73 kB / 0.9561 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.8863, allocations: 137 kB / 0.9562 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.8863, allocations: 0 / 0.9562 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8863, allocations: 1.156 kB / 0.9562 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.8863, allocations: 0 / 0.9562 GB, free: 6.785 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.0003525/0.8867, allocations: 363.7 kB / 0.9565 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.8868, allocations: 13.06 kB / 0.9565 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.8868, allocations: 84.62 kB / 0.9566 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.887, allocations: 241.5 kB / 0.9569 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.887, allocations: 152 kB / 0.957 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.887, allocations: 155.7 kB / 0.9572 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.563e-05/0.8871, allocations: 106.5 kB / 0.9573 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.8871, allocations: 79.28 kB / 0.9573 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.8872, allocations: 150.6 kB / 0.9575 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/0.8872, allocations: 156 kB / 0.9576 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.001e-05/0.8872, allocations: 154.5 kB / 0.9578 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.8874, allocations: 449.9 kB / 0.9582 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.237e-05/0.8875, allocations: 181.1 kB / 0.9584 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.8875, allocations: 85.11 kB / 0.9585 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.8876, allocations: 75.28 kB / 0.9585 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.8876, allocations: 107.4 kB / 0.9586 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.8876, allocations: 0 / 0.9586 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.838e-05/0.8877, allocations: 35.05 kB / 0.9587 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.8877, allocations: 132 kB / 0.9588 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.8878, allocations: 103.6 kB / 0.9589 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.8878, allocations: 25.7 kB / 0.9589 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.8879, allocations: 81.61 kB / 0.959 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.8879, allocations: 3.938 kB / 0.959 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.8879, allocations: 1.469 kB / 0.959 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.635e-05/0.888, allocations: 310.8 kB / 0.9593 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.704e-05/0.888, allocations: 17.89 kB / 0.9593 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.619e-05/0.888, allocations: 6.469 kB / 0.9593 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.265e-05/0.8881, allocations: 9.797 kB / 0.9593 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8881, allocations: 0 / 0.9593 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001391/0.8882, allocations: 55.88 kB / 0.9594 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.8882, allocations: 8.969 kB / 0.9594 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8882, allocations: 1.156 kB / 0.9594 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.8883, allocations: 0 / 0.9594 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.896e-06/0.8883, allocations: 1.281 kB / 0.9594 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8883, allocations: 4 kB / 0.9594 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.973e-05/0.8884, allocations: 14.14 kB / 0.9594 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.8884, allocations: 2.562 kB / 0.9594 GB, free: 3.355 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 2 * 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 prepare postOptimizeDAE: time 7.859e-05/0.8885, allocations: 191.6 kB / 0.9596 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.8885, allocations: 102.2 kB / 0.9597 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.8886, allocations: 113.5 kB / 0.9598 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-05/0.8886, allocations: 180.3 kB / 0.96 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.439e-05/0.8886, allocations: 188.9 kB / 0.9601 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.999e-05/0.8887, allocations: 177.6 kB / 0.9603 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.8888, allocations: 399.7 kB / 0.9607 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/0.8888, allocations: 114.1 kB / 0.9608 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2e-05/0.8889, allocations: 102.2 kB / 0.9609 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.818e-05/0.8889, allocations: 185.3 kB / 0.9611 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.8889, allocations: 177.6 kB / 0.9612 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.773e-05/0.889, allocations: 180.2 kB / 0.9614 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-05/0.889, allocations: 177.6 kB / 0.9616 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.103e-05/0.8891, allocations: 319.8 kB / 0.9619 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.8892, allocations: 179.6 kB / 0.9621 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.8892, allocations: 184.9 kB / 0.9622 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.995e-05/0.8893, allocations: 106.4 kB / 0.9623 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.8894, allocations: 177.6 kB / 0.9625 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.8894, allocations: 104.9 kB / 0.9626 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.8895, allocations: 86.89 kB / 0.9627 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.583e-06/0.8895, allocations: 1.406 kB / 0.9627 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000392/0.8899, allocations: 67.03 kB / 0.9628 GB, free: 15.75 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.002754/0.8926, allocations: 380.4 kB / 0.9631 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.895e-05/0.8927, allocations: 11.69 kB / 0.9631 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8928, allocations: 1.438 kB / 0.9631 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.8928, allocations: 0 / 0.9631 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.8933, allocations: 0.5302 MB / 0.9637 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.8936, allocations: 188 kB / 0.9638 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.8939, allocations: 0.676 MB / 0.9645 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.754e-05/0.894, allocations: 12.72 kB / 0.9645 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.894, allocations: 0 / 0.9645 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of Templates: time 0.004061/0.898, allocations: 1.548 MB / 0.966 GB, free: 13.28 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.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.ExchangeWithPassPythonObjectCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObjectCalcHelperMain.o] Error 1