Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008066/0.0008063, 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.0009591/0.0009591, allocations: 177.1 kB / 16.58 MB, free: 6.859 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.505/1.505, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.782/2.782, allocations: 436.7 MB / 0.7113 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004488, allocations: 12 kB / 0.8717 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8288/0.8293, allocations: 153.7 MB / 1.022 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0008168/0.8301, allocations: 345.3 kB / 1.022 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006451/0.8308, allocations: 323.2 kB / 1.022 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.8308, allocations: 0 / 1.022 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.8308, allocations: 3.938 kB / 1.022 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.61e-05/0.8309, allocations: 4 kB / 1.022 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.8313, allocations: 75.84 kB / 1.022 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.772e-05/0.8313, allocations: 23.91 kB / 1.022 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.8314, allocations: 0 / 1.022 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.859e-05/0.8314, allocations: 15.98 kB / 1.022 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.8315, allocations: 15.92 kB / 1.023 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.8315, allocations: 0 / 1.023 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.8319, allocations: 263.7 kB / 1.023 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.8319, allocations: 7.984 kB / 1.023 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.832, allocations: 37.64 kB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.8321, allocations: 59.89 kB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.8321, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8321, allocations: 3.938 kB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.8321, allocations: 4 kB / 1.023 GB, free: 15.9 MB / 0.7794 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.0004421/0.8326, allocations: 349.3 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.8326, allocations: 15.98 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.8327, allocations: 4 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.8328, allocations: 167.1 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.8329, allocations: 0 / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.8329, allocations: 11.91 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.833, allocations: 53.62 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.833, allocations: 0 / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.8331, allocations: 4 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.8331, allocations: 0 / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.41e-05/0.8331, allocations: 19.92 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.8333, allocations: 173.5 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.8334, allocations: 58.55 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.8335, allocations: 25.09 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006966/0.8342, allocations: 469.4 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.8342, allocations: 38.52 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.8342, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001311/0.8356, allocations: 0.576 MB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.8356, allocations: 59.34 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.8357, allocations: 101.8 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.8357, allocations: 29.7 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.8358, allocations: 80.14 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.8358, allocations: 47.39 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.8358, allocations: 3.938 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.836, allocations: 326.8 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-05/0.836, allocations: 15.98 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.803e-05/0.8361, allocations: 27.98 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.02e-05/0.8361, allocations: 20 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.8361, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001726/0.8363, allocations: 100.4 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.8363, allocations: 13.34 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8363, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.8364, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.8365, allocations: 23.92 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.8365, allocations: 8 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.8365, allocations: 0 / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.8365, allocations: 4 kB / 1.026 GB, free: 12.73 MB / 0.7794 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 8.791e-05/0.8366, allocations: 113.8 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.8366, allocations: 11.86 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.8368, allocations: 101.6 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.8369, allocations: 4 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8369, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.8369, allocations: 4 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.8373, allocations: 354.5 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.8373, allocations: 0 / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.8374, allocations: 27.92 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.8374, allocations: 192 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.8374, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8374, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8375, allocations: 4 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.8377, allocations: 219.7 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.8378, allocations: 93.08 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.8378, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-05/0.8379, allocations: 7.984 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.8379, allocations: 8 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.8379, allocations: 3.938 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.547e-05/0.838, allocations: 87.2 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.838, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002659/0.8383, allocations: 40 kB / 1.027 GB, free: 11.57 MB / 0.7794 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.0002648/0.8385, allocations: 147.3 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.8387, allocations: 60.08 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.8387, allocations: 3.938 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/0.8387, allocations: 39.86 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.839, allocations: 4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.8394, allocations: 216.7 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.8397, allocations: 0.6848 MB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.8397, allocations: 15.44 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8397, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.002992/0.8427, allocations: 1.199 MB / 1.029 GB, free: 9.145 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_CheckCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_CheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_CheckCalcHelperMain.o] Error 1