Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, 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.001197/0.001197, allocations: 174.9 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.521/1.521, 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.715/2.715, allocations: 436.7 MB / 0.7113 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003557, allocations: 15.92 kB / 0.8717 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8537/0.8541, allocations: 153.7 MB / 1.022 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007257/0.8548, allocations: 325.3 kB / 1.022 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000575/0.8554, allocations: 295.3 kB / 1.022 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.192e-05/0.8554, allocations: 0 / 1.022 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.028e-05/0.8555, allocations: 0 / 1.022 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.181e-06/0.8555, allocations: 0 / 1.022 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.8558, allocations: 71.78 kB / 1.022 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.632e-05/0.8559, allocations: 0 / 1.022 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.8559, allocations: 0 / 1.022 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.63e-05/0.8559, allocations: 4 kB / 1.022 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.366e-05/0.856, allocations: 0 / 1.022 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.856, allocations: 4 kB / 1.022 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003569/0.8563, allocations: 263.7 kB / 1.023 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.616e-06/0.8564, allocations: 4 kB / 1.023 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.8564, allocations: 33.69 kB / 1.023 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.8565, allocations: 51.84 kB / 1.023 GB, free: 84 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8565, allocations: 4 kB / 1.023 GB, free: 80 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8565, allocations: 0 / 1.023 GB, free: 80 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.8565, allocations: 0 / 1.023 GB, free: 80 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002704/0.8568, allocations: 327.4 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.8569, allocations: 19.98 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.8569, allocations: 0 / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.776e-05/0.857, allocations: 163.1 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.857, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.8571, allocations: 3.938 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.231e-05/0.8572, allocations: 37.59 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.8572, allocations: 0 / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.8572, allocations: 0 / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.8572, allocations: 7.969 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.787e-05/0.8572, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.8573, allocations: 149.7 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.219e-05/0.8574, allocations: 18.58 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.8574, allocations: 8.953 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004723/0.8579, allocations: 421.5 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.8579, allocations: 46.45 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.8579, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001335/0.8581, allocations: 33.69 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.8581, allocations: 51.41 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.796e-05/0.8582, allocations: 89.86 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.8582, allocations: 25.7 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.8582, allocations: 80.14 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.8582, allocations: 8.031 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.8582, allocations: 4 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.8583, allocations: 314.8 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.8584, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.8584, allocations: 3.938 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.847e-05/0.8584, allocations: 7.938 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.8584, allocations: 0 / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.745e-05/0.8585, allocations: 33.69 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.8585, allocations: 4 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.8585, allocations: 8.094 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.8585, allocations: 3.953 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.904e-05/0.8586, allocations: 0 / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.8586, allocations: 3.984 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-06/0.8586, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.8586, allocations: 4 kB / 1.025 GB, free: 13.93 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 (1): * Single equations (assignments): 1 * 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 5.984e-05/0.8587, allocations: 105.8 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.8587, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.714e-05/0.8588, allocations: 48.75 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.8588, allocations: 3.953 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8588, allocations: 4 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8588, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.825e-05/0.8589, allocations: 149.7 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.8589, allocations: 0 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.077e-05/0.8589, allocations: 0 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8589, allocations: 4 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.8589, allocations: 3.938 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8589, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8589, allocations: 7.984 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.34e-05/0.859, allocations: 65.06 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.8591, allocations: 77.11 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.8591, allocations: 4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-06/0.8591, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.8591, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.8591, allocations: 3.953 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.8591, allocations: 79.31 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8592, allocations: 0 / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001838/0.8593, allocations: 13.97 kB / 1.025 GB, free: 13.27 MB / 0.7794 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 (1): * Single equations (assignments): 1 * 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.0001739/0.8595, allocations: 111.2 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.78e-05/0.8596, allocations: 8 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8596, allocations: 3.938 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.074e-06/0.8596, allocations: 4 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.8597, allocations: 4.75 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001685/0.8599, allocations: 100.4 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.8601, allocations: 0.677 MB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.254e-05/0.8602, allocations: 7.438 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8602, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of Templates: time 0.001628/0.8618, allocations: 462.5 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPowerCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerCalcHelperMain.o] Error 1