Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 102.6 kB / 15.71 MB, free: 460 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.001573/0.001573, allocations: 175.1 kB / 16.58 MB, free: 5.938 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.469/1.469, 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.533/2.533, allocations: 390.5 MB / 0.6662 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003806, allocations: 8 kB / 0.8154 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8969/0.8973, allocations: 142.3 MB / 0.9544 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0008567/0.8982, allocations: 345.1 kB / 0.9548 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006575/0.8989, allocations: 321.3 kB / 0.9551 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.8989, allocations: 1.25 kB / 0.9551 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.8989, allocations: 0 / 0.9551 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.061e-05/0.899, allocations: 0 / 0.9551 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.8994, allocations: 82.27 kB / 0.9552 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.267e-05/0.8994, allocations: 16.91 kB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.686e-05/0.8995, allocations: 6.266 kB / 0.9552 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.709e-05/0.8995, allocations: 16.67 kB / 0.9552 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.741e-05/0.8996, allocations: 10.67 kB / 0.9552 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.8996, allocations: 6.375 kB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.9, allocations: 267.3 kB / 0.9555 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.9, allocations: 5.344 kB / 0.9555 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.9001, allocations: 32.05 kB / 0.9555 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.9002, allocations: 64.67 kB / 0.9556 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.9002, allocations: 5.656 kB / 0.9556 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.745e-06/0.9002, allocations: 0 / 0.9556 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.9002, allocations: 0 / 0.9556 GB, free: 7.445 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004134/0.9007, allocations: 352 kB / 0.9559 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.9007, allocations: 9.125 kB / 0.9559 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.277e-05/0.9008, allocations: 7.359 kB / 0.9559 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.9009, allocations: 164.1 kB / 0.9561 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.901, allocations: 2.281 kB / 0.9561 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.901, allocations: 7.094 kB / 0.9561 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.9012, allocations: 55.42 kB / 0.9561 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.9012, allocations: 5.062 kB / 0.9561 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.9012, allocations: 4 kB / 0.9561 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.9012, allocations: 1.312 kB / 0.9561 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.891e-05/0.9013, allocations: 22.5 kB / 0.9562 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.9014, allocations: 170.6 kB / 0.9563 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.9016, allocations: 54.22 kB / 0.9564 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.708e-05/0.9016, allocations: 33.47 kB / 0.9564 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000613/0.9022, allocations: 465.3 kB / 0.9569 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.9023, allocations: 36.12 kB / 0.9569 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.9023, allocations: 0 / 0.9569 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001247/0.9035, allocations: 0.575 MB / 0.9574 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.9036, allocations: 56.83 kB / 0.9575 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.624e-05/0.9036, allocations: 105.8 kB / 0.9576 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.9037, allocations: 27.08 kB / 0.9576 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.9037, allocations: 84.23 kB / 0.9577 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.9037, allocations: 39.73 kB / 0.9577 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.9037, allocations: 1.219 kB / 0.9577 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.9038, allocations: 320 kB / 0.9581 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.897e-05/0.9039, allocations: 19.77 kB / 0.9581 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.828e-05/0.9039, allocations: 24.05 kB / 0.9581 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.85e-05/0.904, allocations: 30.56 kB / 0.9581 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.904, allocations: 0 / 0.9581 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001592/0.9041, allocations: 101.1 kB / 0.9582 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.9042, allocations: 4.969 kB / 0.9582 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.9042, allocations: 0 / 0.9582 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.9042, allocations: 1 kB / 0.9582 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.9043, allocations: 22.45 kB / 0.9582 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.9043, allocations: 9.156 kB / 0.9583 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.9043, allocations: 0 / 0.9583 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.9044, allocations: 6.625 kB / 0.9583 GB, free: 4.691 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 (13): * Single equations (assignments): 13 * 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 7.34e-05/0.9044, allocations: 125.7 kB / 0.9584 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.9045, allocations: 6.625 kB / 0.9584 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.9047, allocations: 102.6 kB / 0.9585 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.9047, allocations: 1.375 kB / 0.9585 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.9047, allocations: 0 / 0.9585 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.9047, allocations: 4.922 kB / 0.9585 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.9051, allocations: 360.4 kB / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9051, allocations: 1.156 kB / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.9052, allocations: 24.77 kB / 0.9589 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.9052, allocations: 1.094 kB / 0.9589 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.9052, allocations: 5.047 kB / 0.9589 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.9052, allocations: 5.016 kB / 0.9589 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9052, allocations: 0 / 0.9589 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.9055, allocations: 226 kB / 0.9591 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.9056, allocations: 88.62 kB / 0.9592 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.9056, allocations: 0 / 0.9592 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.9057, allocations: 6.344 kB / 0.9592 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.9057, allocations: 15.11 kB / 0.9592 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.9057, allocations: 7.141 kB / 0.9592 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.802e-05/0.9057, allocations: 77.53 kB / 0.9593 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9057, allocations: 1.031 kB / 0.9593 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002822/0.906, allocations: 40.38 kB / 0.9593 GB, free: 3.719 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002592/0.9063, allocations: 144.8 kB / 0.9595 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.9065, allocations: 65.17 kB / 0.9595 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.9065, allocations: 0 / 0.9595 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.378e-05/0.9065, allocations: 36.95 kB / 0.9595 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.9068, allocations: 9.125 kB / 0.9596 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.9071, allocations: 211.8 kB / 0.9598 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.9073, allocations: 0.6841 MB / 0.9604 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.9073, allocations: 21.2 kB / 0.9604 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.9073, allocations: 0 / 0.9604 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of Templates: time 0.003118/0.9104, allocations: 1.189 MB / 0.9616 GB, free: 2.055 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.Functions.Examples.RegNonZeroPowerDerivative_2_CheckCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_CheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_CheckCalcHelperMain.o] Error 1