Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.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.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 100.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.00127/0.00127, allocations: 177.2 kB / 16.58 MB, free: 6.879 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.445/1.445, allocations: 223.2 MB / 240.6 MB, free: 5.414 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.427/2.427, allocations: 390.4 MB / 0.6662 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003645, allocations: 12 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8889/0.8892, allocations: 142.3 MB / 0.9544 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001573/0.8909, allocations: 1.296 MB / 0.9557 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000689/0.8916, allocations: 483.8 kB / 0.9561 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.8916, allocations: 0 / 0.9561 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.14e-05/0.8917, allocations: 7.938 kB / 0.9561 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.305e-05/0.8918, allocations: 14.48 kB / 0.9562 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.892, allocations: 31.66 kB / 0.9562 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.8921, allocations: 75.98 kB / 0.9563 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.8922, allocations: 23.22 kB / 0.9563 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.998e-05/0.8923, allocations: 36.53 kB / 0.9563 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.8924, allocations: 29.47 kB / 0.9563 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.8924, allocations: 2.406 kB / 0.9563 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.506e-05/0.8925, allocations: 9.656 kB / 0.9564 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.8925, allocations: 16.64 kB / 0.9564 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.8925, allocations: 38.58 kB / 0.9564 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.918e-05/0.8926, allocations: 54.98 kB / 0.9565 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8927, allocations: 5.125 kB / 0.9565 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8927, allocations: 0 / 0.9565 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.8927, allocations: 0 / 0.9565 GB, free: 6.395 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004401/0.8931, allocations: 400 kB / 0.9568 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.8932, allocations: 9.438 kB / 0.9569 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.8932, allocations: 12.95 kB / 0.9569 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.8934, allocations: 189.5 kB / 0.957 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.8934, allocations: 2.531 kB / 0.9571 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.8934, allocations: 4.312 kB / 0.9571 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.8937, allocations: 116.4 kB / 0.9572 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.8937, allocations: 5.031 kB / 0.9572 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.8937, allocations: 0 / 0.9572 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8937, allocations: 2.062 kB / 0.9572 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.8939, allocations: 121.1 kB / 0.9573 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.8945, allocations: 382.1 kB / 0.9577 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.8947, allocations: 65.75 kB / 0.9577 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.8948, allocations: 54.42 kB / 0.9578 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.8949, allocations: 10.45 kB / 0.9578 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.8949, allocations: 31.66 kB / 0.9578 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.8949, allocations: 0 / 0.9578 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004462/0.8953, allocations: 184.4 kB / 0.958 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.8954, allocations: 52.56 kB / 0.958 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/0.8955, allocations: 136.7 kB / 0.9582 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.8955, allocations: 27.17 kB / 0.9582 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.8955, allocations: 108.2 kB / 0.9583 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.8956, allocations: 17.77 kB / 0.9583 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.8956, allocations: 5.156 kB / 0.9583 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.124e-05/0.8956, allocations: 316.3 kB / 0.9586 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.8957, allocations: 44.81 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/0.8958, allocations: 47.5 kB / 0.9587 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.8959, allocations: 48.94 kB / 0.9588 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.896, allocations: 0 / 0.9588 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002449/0.8962, allocations: 148.2 kB / 0.9589 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.8962, allocations: 5.156 kB / 0.9589 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.8962, allocations: 1.562 kB / 0.9589 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.8963, allocations: 0 / 0.9589 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.8964, allocations: 20.05 kB / 0.9589 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.8964, allocations: 0 / 0.9589 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.606e-05/0.8965, allocations: 20.36 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.8965, allocations: 10.72 kB / 0.9589 GB, free: 4.254 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 (6): * Single equations (assignments): 6 * 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 prepare postOptimizeDAE: time 6.558e-05/0.8966, allocations: 119.4 kB / 0.9591 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.8966, allocations: 11.48 kB / 0.9591 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.8969, allocations: 163.8 kB / 0.9592 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8969, allocations: 0 / 0.9592 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8969, allocations: 1.812 kB / 0.9592 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.897, allocations: 0 / 0.9592 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.8971, allocations: 208.9 kB / 0.9594 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8971, allocations: 1.781 kB / 0.9594 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.752e-05/0.8972, allocations: 19.42 kB / 0.9594 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.8972, allocations: 3.953 kB / 0.9595 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.8973, allocations: 5.312 kB / 0.9595 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8973, allocations: 0 / 0.9595 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8973, allocations: 1.375 kB / 0.9595 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.8975, allocations: 239.4 kB / 0.9597 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.8976, allocations: 82.39 kB / 0.9598 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.8976, allocations: 5.328 kB / 0.9598 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-05/0.8977, allocations: 12.23 kB / 0.9598 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.8977, allocations: 6.734 kB / 0.9598 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.8978, allocations: 6.75 kB / 0.9598 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.56e-05/0.8978, allocations: 97.52 kB / 0.9599 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8978, allocations: 5.375 kB / 0.9599 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00023/0.898, allocations: 28.3 kB / 0.9599 GB, free: 3.383 MB / 0.7169 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 (6): * Single equations (assignments): 6 * 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.000123/0.8982, allocations: 97.12 kB / 0.96 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.8984, allocations: 107.2 kB / 0.9601 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8985, allocations: 0.875 kB / 0.9601 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.8986, allocations: 66.53 kB / 0.9602 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.8988, allocations: 8.109 kB / 0.9602 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.8992, allocations: 271.9 kB / 0.9604 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.8994, allocations: 0.7 MB / 0.9611 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.8994, allocations: 14.67 kB / 0.9611 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8994, allocations: 0 / 0.9611 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of Templates: time 0.002729/0.9021, allocations: 1.11 MB / 0.9622 GB, free: 1.715 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Utilities.Math.Examples.VectorFunctionsCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Examples.VectorFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Examples.VectorFunctionsCalcHelperMain.o] Error 1