Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 103 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.001963/0.001963, allocations: 173.9 kB / 16.58 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.4 MB / 222.8 MB, free: 5.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.809/1.809, allocations: 292.7 MB / 0.5505 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000572/0.0005724, allocations: 13.56 kB / 0.6743 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3083, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001937/0.3103, allocations: 1.148 MB / 0.789 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007527/0.3111, allocations: 365 kB / 0.7894 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.581e-05/0.3111, allocations: 0 / 0.7894 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.059e-05/0.3112, allocations: 0 / 0.7894 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.912e-05/0.3112, allocations: 7.938 kB / 0.7894 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.3117, allocations: 79.84 kB / 0.7895 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.429e-05/0.3118, allocations: 19.92 kB / 0.7895 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3119, allocations: 8 kB / 0.7895 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.29e-05/0.312, allocations: 7.922 kB / 0.7895 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.312, allocations: 11.98 kB / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.312, allocations: 4 kB / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.3124, allocations: 263.6 kB / 0.7898 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.3124, allocations: 3.938 kB / 0.7898 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.3125, allocations: 29.7 kB / 0.7898 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.3126, allocations: 67.88 kB / 0.7899 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3127, allocations: 4 kB / 0.7899 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3127, allocations: 4 kB / 0.7899 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.3127, allocations: 0 / 0.7899 GB, free: 9.93 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005161/0.3132, allocations: 359.5 kB / 0.7902 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3133, allocations: 12.03 kB / 0.7902 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.959e-05/0.3133, allocations: 0 / 0.7902 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.3135, allocations: 171 kB / 0.7904 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3135, allocations: 4 kB / 0.7904 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.3135, allocations: 0 / 0.7904 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.3138, allocations: 53.67 kB / 0.7904 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3138, allocations: 3.938 kB / 0.7905 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3138, allocations: 3.984 kB / 0.7905 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3138, allocations: 0 / 0.7905 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.314, allocations: 51.97 kB / 0.7905 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.3144, allocations: 256.8 kB / 0.7907 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.3145, allocations: 42.62 kB / 0.7908 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.656e-05/0.3146, allocations: 32.83 kB / 0.7908 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006758/0.3153, allocations: 461.5 kB / 0.7913 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3153, allocations: 34.5 kB / 0.7913 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3153, allocations: 0 / 0.7913 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003957/0.3157, allocations: 101.6 kB / 0.7914 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.3158, allocations: 51.41 kB / 0.7914 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.3159, allocations: 105.8 kB / 0.7915 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3159, allocations: 29.64 kB / 0.7916 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.316, allocations: 88.27 kB / 0.7917 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.316, allocations: 11.84 kB / 0.7917 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.316, allocations: 0 / 0.7917 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3161, allocations: 322.8 kB / 0.792 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.337e-05/0.3162, allocations: 15.98 kB / 0.792 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.869e-05/0.3163, allocations: 31.92 kB / 0.792 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.45e-05/0.3164, allocations: 19.98 kB / 0.792 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3164, allocations: 3.984 kB / 0.792 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002069/0.3166, allocations: 77.73 kB / 0.7921 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3166, allocations: 8 kB / 0.7921 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3166, allocations: 0 / 0.7921 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3166, allocations: 0 / 0.7921 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.3167, allocations: 11.98 kB / 0.7921 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3167, allocations: 0 / 0.7921 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.3168, allocations: 12.23 kB / 0.7921 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.3168, allocations: 8.031 kB / 0.7922 GB, free: 7.285 MB / 0.6075 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): 2 * 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.884e-05/0.3169, allocations: 109.8 kB / 0.7923 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.3169, allocations: 7.906 kB / 0.7923 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.3172, allocations: 93.11 kB / 0.7924 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3172, allocations: 0 / 0.7924 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3172, allocations: 0 / 0.7924 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3172, allocations: 0 / 0.7924 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.3174, allocations: 169.6 kB / 0.7925 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3174, allocations: 0 / 0.7925 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/0.3174, allocations: 15.92 kB / 0.7925 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3175, allocations: 0 / 0.7925 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3175, allocations: 0 / 0.7925 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3175, allocations: 0 / 0.7925 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3175, allocations: 4.031 kB / 0.7925 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.3177, allocations: 179.4 kB / 0.7927 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.3178, allocations: 81.14 kB / 0.7928 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.3178, allocations: 0 / 0.7928 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.3179, allocations: 15.98 kB / 0.7928 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3179, allocations: 0 / 0.7928 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.3179, allocations: 0 / 0.7928 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.318, allocations: 87.27 kB / 0.7929 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.318, allocations: 0 / 0.7929 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002292/0.3182, allocations: 15.91 kB / 0.7929 GB, free: 6.418 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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.0002122/0.3184, allocations: 115.2 kB / 0.793 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3186, allocations: 47.95 kB / 0.7931 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3186, allocations: 0 / 0.7931 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/0.3188, allocations: 35.92 kB / 0.7931 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.319, allocations: 3.953 kB / 0.7931 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.3193, allocations: 146.2 kB / 0.7932 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.3196, allocations: 0.677 MB / 0.7939 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.3196, allocations: 7.438 kB / 0.7939 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3196, allocations: 4.062 kB / 0.7939 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of Templates: time 0.002408/0.3221, allocations: 0.6935 MB / 0.7946 GB, free: 4.633 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.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_8_Buildings.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.o] Error 1