Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 102.7 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.001242/0.001242, allocations: 174.2 kB / 16.58 MB, free: 6.863 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.963/1.963, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.0005394/0.0005394, allocations: 20.03 kB / 0.6744 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2918, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0008167/0.2926, allocations: 323.5 kB / 0.7883 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007233/0.2934, allocations: 323.2 kB / 0.7886 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.2934, allocations: 0 / 0.7886 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.072e-05/0.2935, allocations: 0 / 0.7886 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.809e-05/0.2935, allocations: 0 / 0.7886 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.294, allocations: 71.86 kB / 0.7886 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.252e-05/0.294, allocations: 15.92 kB / 0.7886 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.2941, allocations: 7.922 kB / 0.7887 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.2941, allocations: 4 kB / 0.7887 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.2942, allocations: 4 kB / 0.7887 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.2942, allocations: 0 / 0.7887 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000401/0.2946, allocations: 263.7 kB / 0.7889 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.2946, allocations: 0 / 0.7889 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.2946, allocations: 29.7 kB / 0.7889 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.2948, allocations: 63.88 kB / 0.789 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2948, allocations: 0 / 0.789 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2948, allocations: 3.938 kB / 0.789 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2948, allocations: 0 / 0.789 GB, free: 10.86 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003727/0.2952, allocations: 343.4 kB / 0.7893 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2953, allocations: 8.031 kB / 0.7893 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.777e-05/0.2953, allocations: 0 / 0.7893 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2955, allocations: 170.9 kB / 0.7895 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2955, allocations: 3.984 kB / 0.7895 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.2955, allocations: 0 / 0.7895 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.727e-05/0.2956, allocations: 29.7 kB / 0.7895 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2957, allocations: 0 / 0.7895 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2957, allocations: 3.984 kB / 0.7895 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.2957, allocations: 11.94 kB / 0.7895 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.2957, allocations: 4 kB / 0.7896 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.2959, allocations: 153.9 kB / 0.7897 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.482e-05/0.296, allocations: 26.55 kB / 0.7897 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.296, allocations: 12.91 kB / 0.7897 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/0.2967, allocations: 457.5 kB / 0.7902 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.2968, allocations: 38.56 kB / 0.7902 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.755e-06/0.2968, allocations: 0 / 0.7902 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0006349/0.2974, allocations: 254.4 kB / 0.7905 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.2975, allocations: 55.39 kB / 0.7905 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/0.2976, allocations: 97.86 kB / 0.7906 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.2976, allocations: 25.7 kB / 0.7906 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.2976, allocations: 80.14 kB / 0.7907 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.2977, allocations: 7.812 kB / 0.7907 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.2977, allocations: 0 / 0.7907 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2978, allocations: 323.1 kB / 0.791 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.2978, allocations: 7.922 kB / 0.791 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.743e-05/0.2979, allocations: 21.72 kB / 0.791 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.326e-05/0.2979, allocations: 4 kB / 0.791 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2979, allocations: 3.953 kB / 0.7911 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001004/0.298, allocations: 49.69 kB / 0.7911 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.298, allocations: 12 kB / 0.7911 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2981, allocations: 0 / 0.7911 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2981, allocations: 4 kB / 0.7911 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.2981, allocations: 4 kB / 0.7911 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2982, allocations: 0 / 0.7911 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.2982, allocations: 8 kB / 0.7911 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.2982, allocations: 4 kB / 0.7911 GB, free: 8.324 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.509e-05/0.2983, allocations: 109.8 kB / 0.7912 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.2983, allocations: 7.953 kB / 0.7912 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.2984, allocations: 57.12 kB / 0.7913 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2985, allocations: 0 / 0.7913 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2985, allocations: 0 / 0.7913 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2985, allocations: 0 / 0.7913 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.2986, allocations: 153.7 kB / 0.7914 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2986, allocations: 0 / 0.7914 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.2987, allocations: 11.94 kB / 0.7915 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2987, allocations: 7.938 kB / 0.7915 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.2987, allocations: 0 / 0.7915 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2987, allocations: 4 kB / 0.7915 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2987, allocations: 0 / 0.7915 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.2989, allocations: 77.03 kB / 0.7915 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.2989, allocations: 77.34 kB / 0.7916 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.2989, allocations: 7.984 kB / 0.7916 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.73e-05/0.299, allocations: 11.92 kB / 0.7916 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.299, allocations: 3.984 kB / 0.7916 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.299, allocations: 7.938 kB / 0.7916 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.587e-05/0.2991, allocations: 79.34 kB / 0.7917 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2991, allocations: 0 / 0.7917 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002108/0.2993, allocations: 20 kB / 0.7917 GB, free: 7.59 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002272/0.2995, allocations: 127.2 kB / 0.7919 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.841e-05/0.2996, allocations: 15.98 kB / 0.7919 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2996, allocations: 4 kB / 0.7919 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.2996, allocations: 8.156 kB / 0.7919 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.2998, allocations: 8 kB / 0.7919 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.3, allocations: 138.7 kB / 0.792 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.3003, allocations: 0.677 MB / 0.7927 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.3004, allocations: 11.44 kB / 0.7927 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3004, allocations: 0 / 0.7927 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of Templates: time 0.00233/0.3027, allocations: 0.7617 MB / 0.7934 GB, free: 5.781 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Functions.Examples.RegNonZeroPowerDerivativeCheckCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheckCalcHelperMain.o] Error 1